Product Documentation

MSSQL_RES_T

Sep 12, 2016

Operates on MSSQL Response.

This topic lists the expressions that are provided by this class.

ATLEAST_ROWS_COUNT (uint i)

Checks if response has at least this many rows.

Parameters (expressions not allowed):

i - number of rows

Returns: bool_at

DONE

This object provides for the ability to work on Done Token pkt of Response.

Returns: mssql_res_done_t

ERROR

returns Error object representing error number, error msg, etc.

Returns: mssql_res_error_t

FIELD (uint i)

This object provides for the ability to work on individual Field pkts(columns) of the Response.

Parameters (expressions not allowed):

i - column number

Returns: mssql_res_field_t

ROW (uint i)

This object provides for the ability to work on individual Row pkts of the Response.

Parameters (expressions not allowed):

i - row number

Returns: mssql_res_row_t

TYPE

Enum for the response type. Its values can be ERROR, OK, and RESULT_SET

Returns: mssql_res_type_e