Commit Graph
5 Commits
Author SHA1 Message Date
Linden c38f646bb9 refactor(database): add new connection class and misc tweaks
Use disposable symbol to ensure connection cleanup.
Improvements to internal types.
Code splitting and removal of redundant variables.
2024-06-17 15:33:39 +10:00
Linden afc04fc553 fix(db): move query responses to their own try block
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.
2022-03-07 15:13:07 +11:00
erik.balog 38e30c6640 fix: Scalar return value 2022-01-23 13:10:34 +01:00
dunak-debug 21ded71fde fix: Return correct scalar value 2022-01-07 23:41:11 +01:00
dunak-debug 4498dddbac WIP: Rewrite to TS & Cleanup 2021-12-26 02:21:46 +01:00