Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Query {
- _mongooseOptions: {},
- mongooseCollection:
- NativeCollection {
- collection: null,
- opts: { bufferCommands: true, capped: false },
- name: 'posts',
- collectionName: 'posts',
- conn:
- NativeConnection {
- base: [Object],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- hosts: null,
- host: 'localhost',
- port: 27017,
- user: undefined,
- pass: undefined,
- name: 'blog',
- options: [Object],
- otherDbs: [],
- _readyState: 2,
- _closeCalled: false,
- _hasOpened: false,
- _listening: false,
- db: [Object] },
- queue: [],
- buffer: true,
- emitter:
- EventEmitter {
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined } },
- model:
- { [Function: model]
- hooks: Kareem { _pres: {}, _posts: {} },
- base:
- Mongoose {
- connections: [Object],
- plugins: [],
- models: [Object],
- modelSchemas: [Object],
- options: [Object],
- exports: [Circular] },
- modelName: 'Post',
- model: [Function: model],
- db:
- NativeConnection {
- base: [Object],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- hosts: null,
- host: 'localhost',
- port: 27017,
- user: undefined,
- pass: undefined,
- name: 'blog',
- options: [Object],
- otherDbs: [],
- _readyState: 2,
- _closeCalled: false,
- _hasOpened: false,
- _listening: false,
- db: [Object] },
- discriminators: undefined,
- schema:
- Schema {
- paths: [Object],
- subpaths: {},
- virtuals: [Object],
- singleNestedPaths: {},
- nested: [Object],
- inherits: {},
- callQueue: [Object],
- _indexes: [],
- methods: {},
- statics: {},
- tree: [Object],
- _requiredpaths: [],
- discriminatorMapping: undefined,
- _indexedpaths: [],
- s: [Object],
- options: [Object] },
- collection:
- NativeCollection {
- collection: null,
- opts: [Object],
- name: 'posts',
- collectionName: 'posts',
- conn: [Object],
- queue: [],
- buffer: true,
- emitter: [Object] } },
- schema:
- Schema {
- paths:
- { title: [Object],
- 'author.name': [Object],
- 'author.email': [Object],
- 'author.userid': [Object],
- content: [Object],
- date: [Object],
- published: [Object],
- tags: [Object],
- 'meta.likes': [Object],
- 'meta.shares': [Object],
- _id: [Object],
- __v: [Object] },
- subpaths: {},
- virtuals: { id: [Object] },
- singleNestedPaths: {},
- nested: { author: true, meta: true },
- inherits: {},
- callQueue: [ [Object], [Object], [Object] ],
- _indexes: [],
- methods: {},
- statics: {},
- tree:
- { title: [Function: String],
- author: [Object],
- content: [Function: String],
- date: [Object],
- published: [Function: Boolean],
- tags: [Function: Array],
- meta: [Object],
- _id: [Object],
- id: [Object],
- __v: [Function: Number] },
- _requiredpaths: [],
- discriminatorMapping: undefined,
- _indexedpaths: [],
- s: { hooks: [Object], queryHooks: [Object] },
- options:
- { typeKey: 'type',
- id: true,
- noVirtualId: false,
- _id: true,
- noId: false,
- validateBeforeSave: true,
- read: null,
- shardKey: null,
- autoIndex: null,
- minimize: true,
- discriminatorKey: '__t',
- versionKey: '__v',
- capped: false,
- bufferCommands: true,
- strict: true,
- pluralization: true } },
- op: 'find',
- options: {},
- _conditions: { 'author.userid': { '$gt': 10 } },
- _fields: undefined,
- _update: undefined,
- _path: undefined,
- _distinct: undefined,
- _collection:
- NodeCollection {
- collection:
- NativeCollection {
- collection: null,
- opts: [Object],
- name: 'posts',
- collectionName: 'posts',
- conn: [Object],
- queue: [],
- buffer: true,
- emitter: [Object] },
- collectionName: 'posts' },
- _traceFunction: undefined,
- _castError: null,
- _count: [Function],
- _execUpdate: [Function],
- _find: [Function],
- _findOne: [Function],
- _findOneAndRemove: [Function],
- _findOneAndUpdate: [Function] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement