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