Releases: overextended/oxmysql
Releases · overextended/oxmysql
v1.2.0
We've said it a billion times; just because you don't get an error doesn't mean it's working as intended.
Don't use 1.2.0
KNOWN ISSUES
- #14 Column 'x' cannot be null if using
@
ghmatti syntax
Bug Fixes
- patch mysql2, named-placeholders (dunak-debug)
- Type casting, removed old query format, dont prepare execute/insert (dunak-debug)
- remove mysql2 patch, format lua parameters (dunak-debug)
- typo in workflow (Dunak)
Chores
- bump version to 1.2.0 (dunak-debug)
Commits
- a31df20: Create release.yml (Dunak)
v1.1.0 - backward compatibility
-
Backward compatibility for mysql-async/ghmattimysql syntax of queries.
exports.oxmysql.single('SELECT * FROM users WHERE identifier = @identifier, {
['@identifier'] = xPlayer.identifier
}
-
mysql_debug true/false
convar will enable more specific logging of queries and parameters.
v1.0.0 - First release
USE PREPARED BUILD (oxmysql.zip) NOT SOURCE CODE!!!
No need to build nor use yarn, just drag & drop oxmysql folder
Make sure you set up config before using this resource.
server.cfg
- Database config (required)
set mysql_connection_string "mysql://user:password@host/database?charset=utf8mb4"
- Slow query warnings (optional)
set mysql_slow_query_warning 50