Skip to content

mysql_transaction_query

imshooter edited this page Dec 1, 2026 · 2 revisions

Run a transaction and wait for it, as mysql_query does, and forget it.

native Cache:mysql_transaction_query(Transaction:transaction, bool:use_cache = true);

With open.mp names, from the same include:

native Cache:MySQL_QueryTransaction(Transaction:transaction, bool:use_cache = true);

Parameters

Parameter Description
Transaction:transaction The transaction.
bool:use_cache = true Whether to keep its result.

Returns

  • The result.
  • MYSQL_INVALID_CACHE when it failed, or use_cache is false.

Home

Guides

Reference

Functions

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

Clone this wiki locally