Skip to content

mysql_builder_create

imshooter edited this page Dec 1, 2026 · 2 revisions

Start a query built a piece at a time.

A statement made of parts that grow together, such as the rows of several tables, keeps each part in a builder of its own and joins them with %Q.

native Builder:mysql_builder_create(MySQL:handle, const text[] = "", MYSQL_TAGS:...);

With open.mp names, from the same include:

native Builder:MySQL_CreateBuilder(MySQL:handle, const text[] = "", MYSQL_TAGS:...);

Parameters

Parameter Description
MySQL:handle Handle whose escaping is used and which runs it.
const text[] = "" The first piece, formatted with the values after it, or taken as it is without any.
MYSQL_TAGS:... The values of the piece.

Returns

  • The builder.
  • MYSQL_INVALID_BUILDER when the handle does not exist, or the format is not valid.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally