Skip to content

MySQL_SendQuery

imshooter edited this page Oct 31, 2026 · 2 revisions

Send a query built in pieces, and forget it, also when it is refused.

native bool:MySQL_SendQuery(Query:query, const callback[] = "", context = 0, bool:parallel = false);

Parameters

Parameter Description Default
Query:query Query to send.
const callback[] Public to call when it is done, or none. ""
context Value the public receives. 0
bool:parallel Whether any connection of the pool may run it. false

Returns

  • true when it was sent.
  • false when the query does not exist, or a limit of the connection refused it, and the public is not called.

Remarks

The query is forgotten once sent, and also when a limit of the connection refuses it, so it is never sent twice by mistake. The public behaves as the one of MySQL_ThreadedQuery.

Related

Clone this wiki locally