SQL_AddQuery Function

Adds a query to a transaction object.

int SQL_AddQuery(Transaction txn, const char[] query, any data)

Parameters

Transaction txn

A transaction handle.

const char[] query

Query string.

any data

Extra data value to pass to the final callback.

Return Value

The index of the query in the transaction's query list.

Errors

Invalid transaction handle.