Constructor

new

Row

(Array columns)

Represents a result row

Parameters:
Name Type Description
columns Array

Methods

forEach

(function callback)

Executes the callback for each field in the row, containing the value as first parameter followed by the columnName

Parameters:
Name Type Description
callback function

get

(String or Number columnName)

Returns the cell value.

Parameters:
Name Type Description
columnName String or Number

Name or index of the column

keys

()

Returns an array of the column names of the row

Returns:
Type Description
Array

values

()

Returns an array of the values of the row

Returns:
Type Description
Array