mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
typo
This commit is contained in:
@@ -366,7 +366,7 @@ function mongo_collection:createIndex(option , onekey)
|
||||
return self.database:runCommand("createIndexes", self.name, "indexes", { IndexModel(option) })
|
||||
end
|
||||
|
||||
function mongo_collection:createIndexs(...)
|
||||
function mongo_collection:createIndexes(...)
|
||||
local idx = { ... }
|
||||
for k,v in ipairs(idx) do
|
||||
idx[k] = IndexModel(v)
|
||||
|
||||
Reference in New Issue
Block a user