getValues([Options][, Callback]) Method

Gets an object with the column names and values of the current row.

Parameters

Type

Name

Description

Object

options

Specifies the optional object containing the options for defining the representation of rows in the result.

Function

callback

Specifies the optional callback function.

Returns

If the options parameter is specified as “{asArray: true}”, this method returns an array consisting of all column values for the current row. Otherwise, it returns an object that consists of a set of column names and value pairs for the current row.

If no callback is specified, then the result is returned.