Class __builtin.Sql.FutureResult

Inheritance graph
__builtin.Sql.FutureResult Sql.FutureResult
Description

The promise result class; it will contain the results of a query.

See also

Promise, Connection.promise_query()


Variable affected_rows

final int __builtin.Sql.FutureResult.affected_rows

Description

The number of affected rows.


Variable bindings

final mapping(string:mixed)|zero __builtin.Sql.FutureResult.bindings

Description

The parameter bindings belonging to the query.


Variable data

final array(mixed)|zero __builtin.Sql.FutureResult.data

Description

The returned raw unadorned records, all typed data. Once get() has been accessed, data will point to the same adorned records.

See also

Sql.Connection->big_typed_query()


Variable fields

final array(mapping(string:mixed))|zero __builtin.Sql.FutureResult.fields

Description

The description of the fields in a record.


Variable query

final string|zero __builtin.Sql.FutureResult.query

Description

The SQL query.


Variable status_command_complete

final string|mixed __builtin.Sql.FutureResult.status_command_complete

Description

The status of the completed command. If the command is still in progress, the value is null. If an error has occurred, it contains the backtrace of that error.