Files
oxmysql/fxmanifest.lua
T
Linden afc04fc553 fix(db): move query responses to their own try block
Other resources with script errors (notably "attempt to index a nil value") would mistakenly report the query as failed, and people would assume ANY reported errors were because of oxmysql, even through it was their own awful script.

No errors should be thrown in oxmysql when an error occurs in a function reference.
2022-03-07 15:13:07 +11: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.1.1'
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' }
}
}