You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you execute this code, a new record will be inserted.
local mg, err = moongoo.new("mongodb://xxx")
local col = mg:db("testdb"):collection("mytest2") -- 选择db和表
col:update({ name = "Bobby" }, { age = 20 } ,{upset = true} )
mongoc: 1.20
mongdb 5.0.4
The text was updated successfully, but these errors were encountered:
When you execute this code, a new record will be inserted.
mongoc: 1.20
mongdb 5.0.4
The text was updated successfully, but these errors were encountered: