Repository navigation
mysql_batch_execute
imshooter edited this page Dec 1, 2026
·
2 revisions
Send the rows of a batch after the queries sent before it, call a public when they are done, and forget the batch.
Inside the public, cache_affected_rows gives the rows of all of them. A batch with no rows is not sent to the server, and its public is still called.
native bool:mysql_batch_execute(
Batch:batch,
const callback[] = "",
const format[] = "",
{Float, _}:...
);With open.mp names, from the same include:
native bool:MySQL_ExecuteBatch(
Batch:batch,
const callback[] = "",
const format[] = "",
{Float, _}:...
);| Parameter | Description |
|---|---|
Batch:batch |
The batch. |
const callback[] = "" |
Public to call, or none. |
const format[] = "" |
Letters of the values the public receives. |
{Float, _}:... |
The values. |
-
truewhen it was sent. -
falsewhen the batch 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.
mysql 0.6.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- The cache
- JSON cells
- Prepared statements
- Transactions
- The ORM
- Passwords
- Errors
- TLS
- Coming from another plugin
- Performance
Reference
Functions
Connections
Queries
Cache
- cache_get_row_count
- cache_get_field_count
- cache_get_result_count
- cache_get_field_name
- cache_get_field_type
- cache_get_field_index
- cache_set_result
- cache_get_value_index
- cache_get_value_index_int
- cache_get_value_index_float
- cache_get_value_index_bool
- cache_is_value_index_null
- cache_get_value_name
- cache_get_value_name_int
- cache_get_value_name_float
- cache_get_value_name_bool
- cache_is_value_name_null
- cache_get_row
- cache_save
- cache_delete
- cache_set_active
- cache_unset_active
- cache_is_any_active
- cache_is_valid
- cache_affected_rows
- cache_insert_id
- cache_warning_count
- cache_get_query_exec_time
- cache_get_query_string
- cache_get_errno