Skip to content

MySQL_AppendQuery

imshooter edited this page Oct 24, 2026 · 1 revision

Add a piece to a query.

native bool:MySQL_AppendQuery(Query:query, const text[], MYSQL_TAGS:...);

Parameters

Parameter Description
Query:query Query to add to.
const text[] The piece, formatted with the values after it.
MYSQL_TAGS:... Values for the specifiers of the query, in order.

Returns

  • true when it was added.
  • false when the query does not exist or the format is not valid, and nothing is added.

Remarks

A piece that fails to format adds nothing, so the query stays as it was.

Related

Clone this wiki locally