I have a mongo object and wish to access it via mongoose for my web app. The schema I\'ve defined has an Object storing user ids and a
mongo
mongoose
Object
You may define objects and arrays in your schema. You may even combine them. For example, this is an array of objects:
var user = new Schema({ foo: [ { address: {type: String}, email: {type: String, unique: true} }], bar: [ "simple", "array" ] });