Linden 4b179191d4 feat: Imports file for "mysql-async" like usage
- Include `server_script '@oxmysql/lib/MySQL.lua'` in the resource manifest

Mostly untested
2021-10-07 07:42:03 +11:00
2021-09-17 01:11:07 +02:00
2021-09-17 17:18:42 +02:00
2021-08-15 16:13:48 +02:00
2021-09-09 22:23:03 +02:00
2021-09-23 20:55:08 +02:00

oxmysql

Documentation

Discord

oxmysql is a middleware for FXServer which utilises node-mysql2 to communicate with a database and respond with the query results.

Calling the JS exports will result in async behaviour, or you can use the Lua exports to return a promise and await the response.

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%