Skip to content

Releases: overextended/oxmysql

v1.2.0

12 Sep 16:13
1e31cc0
Compare
Choose a tag to compare

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

Commits

  • a31df20: Create release.yml (Dunak)

v1.1.0 - backward compatibility

11 Sep 01:45
Compare
Choose a tag to compare
  • 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

08 Sep 21:53
Compare
Choose a tag to compare

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