mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
faae020dd4a82771292c2f45dfe04ee6772d7222
* feat: transactions * Adds transactions function * Adds query & param parser with ghmattimysql compatability * feat: transaction exports * Adds exports for using transactions * feat: set transaction isolation level on start * feat: accept mysql-async syntax * fix: acquire connection from pool * refactor: syntactic sugar in transaction.js * feat: optional error logging * It ain't pretty but it gets the job done. * Revert "feat: optional error logging" This reverts commit fdff479f34b7575c240334cff0f4f12d03e0d48f. * feat: transaction isolation level convar * fix: requested changes
oxmysql
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.
Languages
TypeScript
67.1%
Svelte
22.4%
Lua
5.1%
JavaScript
4.4%
CSS
0.5%
Other
0.5%