db_is_transaction_started()

Indicates whether a nested transaction call is started.

Syntax

db_is_transaction_started()
  RETURNING result INTEGER

Usage

The function returns TRUE if a transaction was started with db_start_transaction(), and was not yet finished with a call to the db_finish_transaction() function.