Skip to content

mysql_transaction_add

imshooter edited this page Dec 1, 2026 · 2 revisions

Add a query to a transaction.

native bool:mysql_transaction_add(Transaction:transaction, const query[], MYSQL_TAGS:...);

With open.mp names, from the same include:

native bool:MySQL_AddTransactionQuery(Transaction:transaction, const query[], MYSQL_TAGS:...);

Parameters

Parameter Description
Transaction:transaction The transaction.
const query[] The query, formatted with the values after it, or taken as it is without any.
MYSQL_TAGS:... The values of the query.

Returns

  • true when it was added.
  • false when the transaction does not exist, or the format is not valid.

Home

Guides

Reference

Functions

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

Clone this wiki locally