Skip to content

mysql_stmt_execute

imshooter edited this page Dec 1, 2026 · 2 revisions

Run a statement once, after the queries sent before it, and call a public when it is done.

The values of the public come first, as many as format has letters, then the values of the statement.

native bool:mysql_stmt_execute(
    Statement:statement,
    const callback[],
    const format[],
    MYSQL_TAGS:...
);

With open.mp names, from the same include:

native bool:MySQL_ExecuteStatement(
    Statement:statement,
    const callback[],
    const format[],
    MYSQL_TAGS:...
);

Parameters

Parameter Description
Statement:statement The statement.
const callback[] Public to call, or "".
const format[] Letters of the values the public receives, or "".
MYSQL_TAGS:... The values of the public, then those of the statement.

Returns

  • true when it was sent.
  • false when the statement does not exist, the callback is not a public of the script, the values do not match, or a limit of the handle refused 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