var schema = new Schema({ name: String, binary: Buffer, living: Boolean, ... mongoose schema type ... var Thing = mongoose.model('Thing', schema);.
確定! 回上一頁