Linden
9fc06c2132
refactor(versioncheck): remove module and perform check with Lua
...
Unnecessary dependency with functionality that can be easily handled via PerformHttpRequest.
Since the check references fxmanifest instead, we will no longer maintain the version in package.json.
2021-10-29 08:14:39 +11:00
Linden
00f9d0449c
fix(regex): Prevent converting JSON in queries into placeholders
...
- When a JSON string is entered as part of a query, rather than a parameter, it is assumed to define a named placeholder - this will check for quotations and ignore it
2021-10-18 01:51:37 +11:00
darksaid98
48ee030372
fix: parameter keys beginning with : & @
2021-10-16 16:02:43 +02:00
Linden
bacd9c171d
chore: Point mysql2 dependency to fork
...
I'd like some control over incoming changes to fit our use-case, and patch-package doesn't quite fulfil our needs.
2021-10-16 10:20:35 +11:00
Linden
22de50c081
Apply mysql2 patch
...
- Remove extra _resolveNamedPlaceholders call from query
- Apply several patches by github/testn (pending merge); refer to pull requests #1408 , #1402 , #1401 , #1400
- Optimise query.row call
- Cache lazy-evaluated field
- Optimise string decoding
- Avoid leaking TextRow/BinaryRow
2021-10-16 10:20:35 +11:00
Linden
d0730c5e9b
feat: Add support for nil parameters
...
- Throws an error if no params are defined when using named parameters, otherwise seems okay
2021-10-16 10:20:35 +11:00
1A3
39c485644d
fix: Regex fix for queries with commas ( #31 )
...
Fixes #24
2021-09-24 20:13:01 +02:00
darksaid98
634bbffd46
feat: version check on startup ( #28 )
2021-09-23 20:55:08 +02:00
dunak-debug
4654460e22
fix: Don´t throw error if parameter is zero or false, check for undefined
2021-09-17 20:01:47 +02:00
dunak-debug
fd4fa877ec
fix: Patch named placeholders, throw errors on nil values
2021-09-17 17:19:18 +02:00
dunak-debug
cc74fac733
fix: Parameter parsing, new update export, null parameter warning
...
- fix https://github.com/overextended/oxmysql/issues/14
- fix ? https://github.com/overextended/oxmysql/issues/16
- fix https://github.com/overextended/oxmysql/issues/15
2021-09-17 00:54:13 +02:00
dunak-debug
f6fb7cc017
fix: remove mysql2 patch, format lua parameters
2021-09-12 17:56:36 +02:00
dunak-debug
94bd814186
fix: patch mysql2, named-placeholders
2021-09-12 16:28:02 +02:00