Repository navigation
MySQL_TrimQuery
imshooter edited this page Oct 24, 2026
·
1 revision
Remove characters from the end of a query, such as the comma after the last row.
native bool:MySQL_TrimQuery(Query:query, characters);| Parameter | Description |
|---|---|
Query:query |
Query to cut. |
characters |
How many characters to remove. |
-
truewhen they were removed. -
falsewhen the query does not exist.
It is meant for the separator after the last row of a list, as the , of (%q, %i), . Removing more characters than the query has empties it.
- MySQL_AppendQuery: Add a piece to a query.
- MySQL_GetQueryLength: The length of a query being built.
- MySQL_ClearQuery: Empty a query being built, to build another in 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