This repository was archived by the owner on Apr 29, 2025. It is now read-only.
Releases: overextended/oxmysql
Releases · overextended/oxmysql
v1.3.0
GHMATTI REPLACEMENT COMPATIBLE NOW (test before going to production)
Features
- New js sync exports (disabled by default) (Linden)
Bug Fixes
- Parameter parsing, new update export, null parameter warning (dunak-debug)
- Patch named placeholders, throw errors on nil values (dunak-debug)
- Typo in wrapper (dunak-debug)
- Use query instead of execute always (dunak-debug)
- Execute export result checking (dunak-debug)
- Don´t throw error if parameter is zero or false, check for undefined (dunak-debug)
Code Refactoring
- Split files into src folder, fix parser (dunak-debug)
- Show error type of nil params (dunak-debug)
- Execute now return whole result object (dunak-debug)
Chores
- add prettier config (dunak-debug)
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/falseconvar 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