mongo
show dbs
use xxx
show collections
db.xxx.find()
db.users.update({ "xxx" : ObjectId("xxxx")},{$set:{"xxx":true}})
时间: 2024-12-21 11:09:27
mongo
show dbs
use xxx
show collections
db.xxx.find()
db.users.update({ "xxx" : ObjectId("xxxx")},{$set:{"xxx":true}})