Commit Graph
3 Commits
Author SHA1 Message Date
Linden 47a33bbba7 fix(db): parseArguments during try block
Error catching when unexpected data is passed to query string.
2021-12-29 03:28:16 +11:00
Linden d54bcae363 fix(db): incorrect error reporting failed queries
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.
2021-12-28 18:41:19 +11:00
Linden 860af3ff14 refactor(transaction): parse arguments prior to establishing connection
Rather then acquiring a connection, throwing an error, then closing the connection.
2021-12-23 13:51:20 +11:00