Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { [Function: model]
- hooks:
- Kareem {
- _pres: { save: [Object], remove: [Object] },
- _posts: { init: [Object], save: [Object] } },
- base:
- Mongoose {
- connections: [ [Object] ],
- models: { lezioni: [Circular] },
- modelSchemas: { lezioni: [Object] },
- options: { pluralization: true },
- _pluralize: [Function: pluralize],
- plugins: [ [Object], [Object], [Object], [Object] ] },
- modelName: 'lezioni',
- model: [Function: model],
- db:
- NativeConnection {
- base:
- Mongoose {
- connections: [Object],
- models: [Object],
- modelSchemas: [Object],
- options: [Object],
- _pluralize: [Function: pluralize],
- plugins: [Object] },
- collections: { lezionis: [Object] },
- models: { lezioni: [Circular] },
- config: { autoIndex: true },
- replica: false,
- hosts: null,
- host: 'localhost',
- port: 27017,
- user: null,
- pass: null,
- name: 'class_app',
- options: null,
- otherDbs: [],
- relatedDbs: {},
- states:
- { '0': 'disconnected',
- '1': 'connected',
- '2': 'connecting',
- '3': 'disconnecting',
- '99': 'uninitialized',
- disconnected: 0,
- connected: 1,
- connecting: 2,
- disconnecting: 3,
- uninitialized: 99 },
- _readyState: 2,
- _closeCalled: false,
- _hasOpened: false,
- _listening: false,
- _connectionOptions: { promiseLibrary: [Function: Promise] },
- '$initialConnection': Promise { <pending> },
- then: [Function],
- catch: [Function] },
- discriminators: undefined,
- '$appliedMethods': true,
- '$appliedHooks': true,
- schema:
- Schema {
- obj:
- { name: [Function: String],
- trainer: [Function: String],
- date: [Function: Number],
- start: [Function: Number],
- end: [Function: Number],
- reservation: [Function: Number] },
- paths:
- { name: [Object],
- trainer: [Object],
- date: [Object],
- start: [Object],
- end: [Object],
- reservation: [Object],
- _id: [Object],
- __v: [Object] },
- aliases: {},
- subpaths: {},
- virtuals: { id: [Object] },
- singleNestedPaths: {},
- nested: {},
- inherits: {},
- callQueue: [],
- _indexes: [],
- methods: {},
- statics: {},
- tree:
- { name: [Function: String],
- trainer: [Function: String],
- date: [Function: Number],
- start: [Function: Number],
- end: [Function: Number],
- reservation: [Function: Number],
- _id: [Object],
- __v: [Function: Number],
- id: [Object] },
- query: {},
- childSchemas: [],
- plugins: [ [Object], [Object], [Object], [Object], [Object] ],
- s: { hooks: [Object] },
- _userProvidedOptions: undefined,
- 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 },
- '$globalPluginsApplied': true },
- collection:
- NativeCollection {
- collection: null,
- opts:
- { bufferCommands: true,
- capped: false,
- '$wasForceClosed': undefined },
- name: 'lezionis',
- collectionName: 'lezionis',
- conn:
- NativeConnection {
- base: [Object],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- hosts: null,
- host: 'localhost',
- port: 27017,
- user: null,
- pass: null,
- name: 'class_app',
- options: null,
- otherDbs: [],
- relatedDbs: {},
- states: [Object],
- _readyState: 2,
- _closeCalled: false,
- _hasOpened: false,
- _listening: false,
- _connectionOptions: [Object],
- '$initialConnection': [Object],
- then: [Function],
- catch: [Function] },
- 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],
- updateMany: [Function: updateMany],
- updateOne: [Function: updateOne],
- replaceOne: [Function: replaceOne],
- remove: [Function],
- deleteOne: [Function],
- deleteMany: [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],
- '$init': Promise { <pending>, catch: [Function] } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement