Repository navigation
MySQL_RunStatement
imshooter edited this page Oct 31, 2026
·
2 revisions
Run a statement once and wait for it, as MySQL_Run does.
native bool:MySQL_RunStatement(Statement:statement, MYSQL_TAGS:...);| Parameter | Description |
|---|---|
Statement:statement |
The statement. |
MYSQL_TAGS:... |
A value for each specifier. |
-
truewhen it succeeded. -
falsewhen it failed, the statement does not exist, the values do not match it, or a limit of the connection refused it.
It waits as MySQL_Run does, so the statements and queries sent before it run first.
new Statement:gCountItems;
stock CountItems(owner) {
if (!MySQL_RunStatement(gCountItems, owner)) {
return 0;
}
return MySQL_GetInt(0, "total");
}- MySQL_ExecuteStatement: Run a statement once, after the queries sent before it.
- MySQL_Run: Run a query and wait for it, after the queries sent before it.
MySQL 0.2.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- Results
- JSON cells
- Prepared statements
- Passwords
- Errors
- TLS
- Coming from R41
- Performance
Reference
Functions