summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dblib.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua
index 093a546..0c07edd 100644
--- a/lib/dblib.lua
+++ b/lib/dblib.lua
@@ -302,11 +302,16 @@ _luadb = {
delete = _luadb.delete,
select = _luadb.select,
gselect = _luadb.gselect,
+ update = _luadb.update,
+ pinsert = function(...) return pcall(_luadb.insert, ...) end,
+ pdelete = function(...) return pcall(_luadb.delete, ...) end,
+ pselect = function(...) return pcall(_luadb.select, ...) end,
+ pgselect = function(...) return pcall(_luadb.gselect, ...) end,
+ pupdate = function(...) return pcall(_luadb.update, ...) end,
numrows = _luadb.numrows,
numfields = _luadb.numfields,
nextrow = _luadb.nextrow,
count = _luadb.count,
- update = _luadb.update,
restrict = _luadb.restrict,
restricter = _luadb.restricter,
empty = _luadb.empty,