6 Commits
Author SHA1 Message Date
Linden d4e367baaf fix(lib): Allow transactions to utilise safeArgs function
- Also updates luadocs
2021-10-16 10:24:00 +11:00
Linden b781f0ca45 feat(lib): Setup support for lua docs 2021-10-15 18:41:17 +11:00
Linden de2c731295 chore: Update comments for function return values 2021-10-08 15:58:11 +11:00
H@merandLinden 93ff6bae45 fix: Incorrect exports used in sync functions for transaction, single, and insert
* Fix insert return worng value.

* fix: Use the correct functions for execute/fetchAll

Co-authored-by: Linden <[email protected]>
2021-10-08 14:00:47 +11:00
Linden a06cf65d10 feat(lib): safeArguments function to assert types
- 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)
2021-10-08 05:51:07 +11:00
Linden 4b179191d4 feat: Imports file for "mysql-async" like usage
- Include `server_script '@oxmysql/lib/MySQL.lua'` in the resource manifest

Mostly untested
2021-10-07 07:42:03 +11:00