Skip to content

QRCore-RedM-Re/oxmysql

 
 

Repository files navigation

oxmysql

A FiveM resource to communicate with a MySQL database using node-mysql2.

🔗 Links

  • 💾 Download
    • Download the latest release directly.
  • 📚 Documentation
    • For installation, setup, and everything else.
  • 📦 npm
    • Use our npm package for enhanced functionality and TypeScript support.

✨ Features

  • Support for mysql-async and ghmattimysql syntax.
  • Promises / async query handling allowing for non-blocking and awaitable responses.
  • Improved performance and stability compared to other options.
  • Support for named and unnamed placeholders, improving performance and security.
  • Support for URI connection strings and semicolon separated values.
  • Improved parameter checking and error handling.

🧾 Logging

We have included a module for submitting error logs to Fivemanage, a cloud management service tailored for game servers. Additional logging options and support for other services will be available in the future.

Lua Language Server

  • Install Lua Language Server to ease development with annotations, type checking, diagnostics, and more.
  • See ox_types for our Lua type definitions.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.0%
  • Svelte 22.1%
  • Lua 5.5%
  • JavaScript 4.4%
  • Other 1.0%