2023-07-28 17:49:15 +10:00
2023-07-11 17:23:56 +10:00
2023-07-28 17:21:13 +10:00
2023-07-21 13:35:58 +10:00
2023-03-24 20:56:53 +01:00
2021-12-24 19:31:46 +11:00
2023-07-11 17:23:56 +10:00
2023-07-11 17:23:56 +10:00
2023-05-18 18:46:23 +10:00
2022-01-04 18:36:52 +01:00

oxmysql

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

📚 Documentation

https://overextended.github.io/docs/oxmysql/

💾 Download

https://github.com/overextended/oxmysql/releases/latest/download/oxmysql.zip

✨ 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.

npm Package

https://www.npmjs.com/package/@overextended/oxmysql

Lua Language Server

  • Install Lua Language Server to ease development with annotations, type checking, diagnostics, and more.
  • Install cfxlua-vscode to add natives and cfxlua runtime declarations to LLS.
  • You can load oxmysql into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path.
    • e.g. "c:\fxserver\resources\oxmysql\lib\define.lua"
S
Description
MySQL resource for FX Server
Readme
2 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 67.1%
Svelte 22.4%
Lua 5.1%
JavaScript 4.4%
CSS 0.5%
Other 0.5%