Javascript Mongo shell db.model.find()未显示所有文档

Javascript Mongo shell db.model.find()未显示所有文档,javascript,node.js,mongodb,mongoose,mongoose-schema,Javascript,Node.js,Mongodb,Mongoose,Mongoose Schema,我已经按照下面的方式定义了我的模式,但是当我从MongoShell中db.Titles.find()时,我没有得到我列出的所有文档。我怎么了?作者没有出现在mongo shell中。我尝试在列表中添加一些随机文档,但仍然没有在mongo中显示?一旦创建了模型,就不能对其进行更新或更改吗?这在我尝试访问模板中的列表时产生了一个问题。提前谢谢 型号: var mongoose = require("mongoose"); var tSchema = new mongoose.Schema({

我已经按照下面的方式定义了我的模式,但是当我从MongoShell中
db.Titles.find()
时,我没有得到我列出的所有文档。我怎么了?作者没有出现在mongo shell中。我尝试在列表中添加一些随机文档,但仍然没有在mongo中显示?一旦创建了模型,就不能对其进行更新或更改吗?这在我尝试访问模板中的列表时产生了一个问题。提前谢谢

型号:

var mongoose = require("mongoose");

var tSchema = new mongoose.Schema({
    title: String,
    sypnosis: String,
    category: Array,
    author: {
        username: String,
        id: { type: mongoose.Schema.Types.ObjectId, ref: "User" }
    },
    parts: [
        {
            type: mongoose.Schema.Types.ObjectId,
            ref: "Part"
        }
    ],
    comments: [
        {
            type: mongoose.Schema.Types.ObjectId,
            ref: "Comment"
        }
    ]
});

var Title = mongoose.model("Title", tSchema);
module.exports = Title;
Mongo shell查询:

db.titles.find().pretty()
{
        "_id" : ObjectId("5e0d140e7bf04c6a60f97dbd"),
        "category" : [ ],
        "parts" : [ ],
        "comments" : [ ],
        "title" : "New Title",
        "sypnosis" : "This si a sypnosis",
        "__v" : 0
}

移除除“_id”之外的所有筛选器时会发生什么?哪些筛选器?我想我没有使用任何过滤器。