Skip to content

mysql_transaction_add_stmt

imshooter edited this page Dec 1, 2026 · 2 revisions

Add a run of a statement to a transaction.

native bool:mysql_transaction_add_stmt(
    Transaction:transaction,
    Statement:statement,
    MYSQL_TAGS:...
);

With open.mp names, from the same include:

native bool:MySQL_AddTransactionStatement(
    Transaction:transaction,
    Statement:statement,
    MYSQL_TAGS:...
);

Parameters

Parameter Description
Transaction:transaction The transaction.
Statement:statement A statement of the same handle.
MYSQL_TAGS:... The values of the statement.

Returns

  • true when it was added.
  • false when the transaction or the statement does not exist, the statement belongs to another handle, or the values do not match it.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally