Files
oxmysql/fxmanifest.lua
T
Linden d80615bddc fix(db): handle errors during callbacks
Handles errors that would previously disappear into the void or show as 'undefined'.

In Lua this would only occur if yielding during the query callback response.

Cross runtime error handling is suffering.
2022-06-26 04:02:50 +10:00

33 lines
653 B
Lua

fx_version 'cerulean'
game 'common'
name 'oxmysql'
description 'Database wrapper for FiveM utilising node-mysql2 offering improved performance and security.'
version '2.3.4'
url 'https://github.com/overextended/oxmysql'
author 'overextended'
dependencies {
'/server:5104',
}
client_script 'ui.lua'
server_script 'dist/build.js'
files {
'ui/build/index.html',
'ui/build/**/*'
}
ui_page 'ui/build/index.html'
provide 'mysql-async'
convar_category 'OxMySQL' {
'Configuration',
{
{ 'Connection string', 'mysql_connection_string', 'CV_STRING', 'mysql://user:password@localhost/database' },
{ 'Debug', 'mysql_debug', 'CV_BOOL', 'false' }
}
}