mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
fix(lib): set correct alias for execute
MySQL-async syntax was calling the execute export rather than update.
This commit is contained in:
1 parent
9b8d6d6c56
commit
893b802029
1 file changed
+2
-2
+2
-2
@@ -2,7 +2,7 @@
|
||||
-- As of v2.0.0 this is the preferred method of interacting with oxmysql
|
||||
-- * You can use mysql-async syntax or oxmysql syntax (refer to issue #77 or line 118)
|
||||
-- * Using this lib provides minor improvements to performance and helps debug poor queries
|
||||
-- * If using mysql-async syntax or newer functions, a resource is not explicity bound to using oxmysql
|
||||
-- * If using mysql-async syntax, a resource is not explicity bound to using oxmysql
|
||||
|
||||
-- todo: new annotations; need to see if I can get it working with metatables, otherwise it'll need stubs
|
||||
|
||||
@@ -93,7 +93,7 @@ local alias = {
|
||||
fetchScalar = 'scalar',
|
||||
fetchSingle = 'single',
|
||||
insert = 'insert',
|
||||
execute = 'execute',
|
||||
execute = 'update',
|
||||
transaction = 'transaction',
|
||||
prepare = 'prepare'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user