db.movie.insert({
_id: ObjectId(7df78ad8902c),
title: "MongoDB Overview",
description: "MongoDB is no sql database",
by: "tutorials point",
url: "http://www.tutorialspoint.com",
tags: ["mongodb", "database", "NoSQL"],
likes: 100
})
答案 0 :(得分:0)
(也许我不明白你的问题)但是如果你想设置你的身份。你可以做这样的事情:
db.movie.insert({ _id: "7df78ad8902c", title: "MongoDB Overview",...