github overextended/oxmysql v2.5.0

latest releases: v2.12.0, v2.11.2, v2.11.1...
2 years ago

This update resolves some compatibility issues and adds support for a requested feature from #140.

set mysql_debug [
    "ox_core",
    "ox_inventory"
]

Using the above, instead of set mysql_debug true, will only print to console for the specified resources. You can still use true for all resources.
You can also adjust the debug list during runtime with the following.

oxmysql_debug remove ox_core
oxmysql_debug add ox_core

These changes are not persistent, so restarting the resource will default to the entries set by the convar.


Features

  • config: add command to modify mysql_debug (Linden)

Bug Fixes

  • utils: named placeholders check (Linden)
  • update: correct semver comparison (Linden)
  • utils/parseArguments: check parameter truthiness (Linden)

Code Refactoring

  • move connectionOptions to config (Linden)

Chores

  • fxmanifest: update description (Linden)
  • include .yarn.installed (Linden)

Commits

  • config: accept a JSON array for mysql_debug (Linden)
  • logger: mysql_debug array-check (Linden)
  • utils: check if namedPlaceholders are enabled (Linden)

Don't miss a new oxmysql release

NewReleases is sending notifications on new releases.