Pike v8.1 release 6

Class Sql.sql_result

Description

Implements the generic result base class of the SQL-interface. Used for return results from SQL.sql->big_query().

You typically don't get a direct clone of this class, but of a class that inherits it, like sql_array_result or sql_object_result.


Variable index

int Sql.sql_result.index

Description

This is the number of the current row. The actual semantics differs between different databases.


Variable master_res

mixed Sql.sql_result.master_res

Description

The actual result.


Method create

Sql.sql_result Sql.sql_result(mixed res)

Description

Create a new Sql.sql_result object

Parameter res

Result to use as base.