Linden
2c90290c84
fix(wrapper): check if oxmysql.js exists via io function
2021-10-29 09:26:01 +11:00
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
def891268b
feat(wrapper): throw an error when no build exists
...
Many people refuse to download releases, instead opting for the source code. Throw an error and include a link to the direct download.
2021-10-29 07:08:36 +11:00
Linden
ca8cef4e26
refactor(prepare): Rename prepared export to prepare
2021-10-24 02:13:55 +11:00
Linden
d4e367baaf
fix(lib): Allow transactions to utilise safeArgs function
...
- Also updates luadocs
2021-10-16 10:24:00 +11:00
Linden
de2c731295
chore: Update comments for function return values
2021-10-08 15:58:11 +11:00
Linden
5b55c81046
chore: Update readme
2021-10-08 05:47:34 +11:00
darksaid98
faae020dd4
feat: Added transactions support ( #20 )
...
* feat: transactions
* Adds transactions function
* Adds query & param parser with ghmattimysql compatability
* feat: transaction exports
* Adds exports for using transactions
* feat: set transaction isolation level on start
* feat: accept mysql-async syntax
* fix: acquire connection from pool
* refactor: syntactic sugar in transaction.js
* feat: optional error logging
* It ain't pretty but it gets the job done.
* Revert "feat: optional error logging"
This reverts commit fdff479f34b7575c240334cff0f4f12d03e0d48f.
* feat: transaction isolation level convar
* fix: requested changes
2021-09-20 16:48:24 +02:00
Linden
be221b70d3
feat: Enable JS sync exports if wrapper.lua is not loaded
2021-09-18 10:28:40 +10:00
dunak-debug
546eebe1cf
fix: Typo in wrapper
2021-09-17 17:19:30 +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
Linden
98a85faa1c
tweaks: Improve logging data, adjust exports
...
- Display name of the resource displaying an error
- Correct query resolve time is displayed during heavy loads
- Removed local functions for sync exports
2021-09-17 04:50:16 +10:00
dunak-debug
8df05c748b
refactor: remove typescript and refactor
2021-08-17 02:58:31 +02:00
dunak-debug
c242e03baf
feat(mysql): setup insert, single, scalar exports
...
- renamed test.lua to wrapper.lua
- use local function for documentation (maybe?)
- setup sync wrappers
2021-08-16 15:29:00 +02:00