mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 22:20:56 +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
|
-- 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)
|
-- * 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
|
-- * 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
|
-- 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',
|
fetchScalar = 'scalar',
|
||||||
fetchSingle = 'single',
|
fetchSingle = 'single',
|
||||||
insert = 'insert',
|
insert = 'insert',
|
||||||
execute = 'execute',
|
execute = 'update',
|
||||||
transaction = 'transaction',
|
transaction = 'transaction',
|
||||||
prepare = 'prepare'
|
prepare = 'prepare'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user