Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Releases: overextended/oxmysql

v1.3.0

17 Sep 20:24

Choose a tag to compare

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

Chores

v1.2.0

12 Sep 16:13
1e31cc0

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

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

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