Skip to content

mysql_tquery

imshooter edited this page Dec 1, 2026 · 2 revisions

Send a query that runs after the queries sent before it, and call a public when it is done.

native bool:mysql_tquery(
    MySQL:handle,
    const query[],
    const callback[] = "",
    const format[] = "",
    {Float, _}:...
);

With open.mp names, from the same include:

native bool:MySQL_ThreadedQuery(
    MySQL:handle,
    const query[],
    const callback[] = "",
    const format[] = "",
    {Float, _}:...
);

Parameters

Parameter Description
MySQL:handle Handle to send it through.
const query[] The query.
const callback[] = "" Public to call, or none.
const format[] = "" Letters of the values the public receives.
{Float, _}:... The values.

Returns

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