Class: Row

reactive-pg-client-js/row~ Row

new Row()

Source:

Methods

getBoolean(name) → {boolean}

Get a boolean value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
boolean

getBuffer(name) → {Buffer}

Get a buffer value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
Buffer

getColumnName(pos) → {string}

Get a column name at pos.
Parameters:
Name Type Description
pos number the position
Source:
Returns:
the column name or null
Type
string

getDouble(name) → {number}

Get a double value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
number

getFloat(name) → {number}

Get a float value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
number

getInteger(name) → {number}

Get an integer value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
number

getJson(name) → {Json}

Get a json value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
Json

getLong(name) → {number}

Get a long value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
number

getShort(name) → {number}

Get a short value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
number

getString(name) → {string}

Get a string value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
string

getValue(name) → {Object}

Get an object value at pos.
Parameters:
Name Type Description
name string the column
Source:
Returns:
the value or null
Type
Object