Skip to content

mysql_batch_query

imshooter edited this page Dec 1, 2026 · 2 revisions

Send the rows of a batch and wait for them, as mysql_query does, and forget the batch.

native Cache:mysql_batch_query(Batch:batch, bool:use_cache = true);

With open.mp names, from the same include:

native Cache:MySQL_QueryBatch(Batch:batch, bool:use_cache = true);

Parameters

Parameter Description
Batch:batch The batch.
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