When using callback functions and throwing an error (i.e. attempt to index a nil value), it would respond about an error in a nested ref call.
Don't catch callback errors.
Exports now utilise more accurate names to reflect their behaviour, with less confusion for JS users (await executeSync is no more).
Exports return promises or callback results directly to reduce promise chaining.
Promise exports now fully utilise JS, with Lua being removed from the resource - version checking runs through JS instead.
Various improvements to lib/MySQL as well as introduction of a prepare wrapper.
- Ensures each argument has the expected type
- Refactor each function for reduced code duplication
- Correctly check Store for number queries (Async functions did not retrieve string)
New exports are faster than the lua wrapper and should be used to replace them
- Require a recent non-recommended server artifact
- If enabled, wrapper.lua should be removed
Lua 5.4 is enabled for improved memory and garbage collection when using the old wrapper