Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { [Function: model]
- hooks: Kareem { _pres: {}, _posts: {} },
- base:
- Mongoose {
- connections: [ [Object] ],
- plugins: [],
- models:
- { Address: [Object],
- Certificate: [Object],
- Circle: [Object],
- Feedback: [Object],
- Infrastructure: [Object],
- User: [Circular] },
- modelSchemas:
- { Address: [Object],
- Certificate: [Object],
- Circle: [Object],
- Feedback: [Object],
- Infrastructure: [Object],
- User: [Object] },
- options: { pluralization: true } },
- modelName: 'User',
- model: [Function: model],
- db:
- NativeConnection {
- base:
- Mongoose {
- connections: [Object],
- plugins: [],
- models: [Object],
- modelSchemas: [Object],
- options: [Object] },
- collections:
- { addresses: [Object],
- certificates: [Object],
- circles: [Object],
- feedbacks: [Object],
- infrastructures: [Object],
- users: [Object] },
- models:
- { Address: [Object],
- Certificate: [Object],
- Circle: [Object],
- Feedback: [Object],
- Infrastructure: [Object],
- User: [Circular] },
- config: { autoIndex: true },
- replica: false,
- hosts: null,
- host: null,
- port: null,
- user: null,
- pass: null,
- name: null,
- options: null,
- otherDbs: [],
- _readyState: 0,
- _closeCalled: false,
- _hasOpened: false,
- _listening: false },
- discriminators: undefined,
- schema:
- Schema {
- paths:
- { firstName: [Object],
- lastName: [Object],
- pseudo: [Object],
- email: [Object],
- phonePrefix: [Object],
- phoneNumber: [Object],
- age: [Object],
- sex: [Object],
- address: [Object],
- sports: [Object],
- feedbacks: [Object],
- messages: [Object],
- circles: [Object],
- _id: [Object],
- __v: [Object] },
- subpaths: {},
- virtuals: { id: [Object] },
- singleNestedPaths: {},
- nested: {},
- inherits: {},
- callQueue: [ [Object], [Object], [Object], [Object], [Object] ],
- _indexes: [],
- methods: {},
- statics: {},
- tree:
- { firstName: [Object],
- lastName: [Object],
- pseudo: [Object],
- email: [Object],
- phonePrefix: [Object],
- phoneNumber: [Object],
- age: [Object],
- sex: [Object],
- address: [Object],
- sports: [Object],
- feedbacks: [Object],
- messages: [Object],
- circles: [Object],
- _id: [Object],
- id: [Object],
- __v: [Function: Number] },
- _requiredpaths: undefined,
- discriminatorMapping: undefined,
- _indexedpaths: undefined,
- query: {},
- s: { hooks: [Object], kareemHooks: [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 } },
- collection:
- NativeCollection {
- collection: null,
- opts: { bufferCommands: true, capped: false },
- name: 'users',
- collectionName: 'users',
- conn:
- NativeConnection {
- base: [Object],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- hosts: null,
- host: null,
- port: null,
- user: null,
- pass: null,
- name: null,
- options: null,
- otherDbs: [],
- _readyState: 0,
- _closeCalled: false,
- _hasOpened: false,
- _listening: false },
- queue: [],
- buffer: true,
- emitter:
- EventEmitter {
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined } },
- Query:
- { [Function]
- base:
- Query {
- toConstructor: [Function: toConstructor],
- setOptions: [Function],
- collection: [Function: collection],
- '$where': [Function],
- where: [Function],
- equals: [Function: equals],
- eq: [Function: eq],
- or: [Function: or],
- nor: [Function: nor],
- and: [Function: and],
- gt: [Function],
- gte: [Function],
- lt: [Function],
- lte: [Function],
- ne: [Function],
- in: [Function],
- nin: [Function],
- all: [Function],
- regex: [Function],
- size: [Function],
- maxDistance: [Function],
- minDistance: [Function],
- mod: [Function],
- exists: [Function],
- elemMatch: [Function],
- within: [Function: within],
- box: [Function],
- polygon: [Function],
- circle: [Function],
- near: [Function: near],
- intersects: [Function: intersects],
- geometry: [Function: geometry],
- select: [Function: select],
- slice: [Function],
- sort: [Function],
- limit: [Function],
- skip: [Function],
- maxScan: [Function],
- batchSize: [Function],
- comment: [Function],
- maxTime: [Function],
- snapshot: [Function],
- hint: [Function],
- slaveOk: [Function],
- read: [Function],
- tailable: [Function],
- merge: [Function],
- find: [Function],
- cursor: [Function: cursor],
- findOne: [Function],
- count: [Function],
- distinct: [Function],
- update: [Function: update],
- remove: [Function],
- findOneAndUpdate: [Function],
- findOneAndRemove: [Function],
- _findAndModify: [Function],
- _wrapCallback: [Function],
- setTraceFunction: [Function],
- exec: [Function: exec],
- thunk: [Function],
- then: [Function],
- stream: [Function],
- selected: [Function: selected],
- selectedInclusively: [Function: selectedInclusively],
- selectedExclusively: [Function: selectedExclusively],
- _mergeUpdate: [Function],
- _optionsForExec: [Function],
- _fieldsForExec: [Function],
- _updateForExec: [Function],
- _ensurePath: [Function],
- _validate: [Function] } },
- '$__insertMany': [Function],
- insertMany: [Function] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement