Skip to content

mysql_stmt_query

imshooter edited this page Dec 1, 2026 · 2 revisions

Run a statement once and wait for it, as mysql_query does.

native Cache:mysql_stmt_query(Statement:statement, bool:use_cache, MYSQL_TAGS:...);

With open.mp names, from the same include:

native Cache:MySQL_QueryStatement(Statement:statement, bool:use_cache, MYSQL_TAGS:...);

Parameters

Parameter Description
Statement:statement The statement.
bool:use_cache Whether to keep its result.
MYSQL_TAGS:... The values of the statement.

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