You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
698 B
Lua
46 lines
698 B
Lua
local M = {}
|
|
|
|
local mongodbx = require "dbproxy.mongodbx"
|
|
|
|
function M.find(...)
|
|
return mongodbx.find(...)
|
|
end
|
|
|
|
function M.findOne(...)
|
|
return mongodbx.findOne(...)
|
|
end
|
|
|
|
function M.aggregate(...)
|
|
return mongodbx.aggregate(...)
|
|
end
|
|
|
|
function M.upsert(...)
|
|
return mongodbx.upsert(...)
|
|
end
|
|
|
|
function M.updateMany(...)
|
|
return mongodbx.updateMany(...)
|
|
end
|
|
|
|
function M.insert(...)
|
|
return mongodbx.insert(...)
|
|
end
|
|
|
|
function M.batch_insert(...)
|
|
return mongodbx.batch_insert(...)
|
|
end
|
|
|
|
function M.del(...)
|
|
return mongodbx.del(...)
|
|
end
|
|
|
|
function M.fetch_all(...)
|
|
return mongodbx.fetch_all(...)
|
|
end
|
|
|
|
function M.exec(cmd, ...)
|
|
return mongodbx.exec(cmd, ...)
|
|
end
|
|
|
|
return M
|