Skip to content

MySQL_CreateBatch

imshooter edited this page Oct 24, 2026 · 1 revision

Start a batch of rows for a statement.

native Batch:MySQL_CreateBatch(Statement:statement);

Parameters

Parameter Description
Statement:statement The statement.

Returns

  • The batch.
  • INVALID_BATCH_ID when the statement does not exist.

Remarks

A batch keeps rows of values for one statement until it is sent. A statement can have any number of batches at once, and each one sends only its own rows.

Related

  • MySQL_AddRow: Add a row of values to a batch. The values are copied at once.
  • MySQL_ExecuteBatch: Send the rows of a batch after the queries sent before it, and forget it, also when it is refused.
  • MySQL_DestroyBatch: Forget a batch without sending it.

Clone this wiki locally