mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
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.
33 lines
653 B
Lua
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' }
|
|
}
|
|
}
|