Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Query {
- _mongooseOptions: {},
- _transforms: [],
- mongooseCollection:
- NativeCollection {
- collection: Collection { s: [Object] },
- opts:
- { bufferCommands: true,
- capped: false,
- '$wasForceClosed': undefined },
- name: 'users',
- collectionName: 'users',
- conn:
- NativeConnection {
- base: [Mongoose],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- options: null,
- otherDbs: [],
- relatedDbs: {},
- states: [Object],
- _readyState: 1,
- _closeCalled: false,
- _hasOpened: true,
- '$internalEmitter': [EventEmitter],
- _listening: false,
- _connectionOptions: [Object],
- name: 'winwin_objects',
- host: 'ds125693.mlab.com',
- port: 25693,
- user: 'winwin',
- pass: 'LAmeodu82',
- client: [MongoClient],
- '$initialConnection': [Promise],
- db: [Db] },
- queue: [],
- buffer: false,
- emitter:
- EventEmitter { _events: {}, _eventsCount: 0, _maxListeners: undefined } },
- model:
- { [Function: model]
- hooks: Kareem { _pres: [Map], _posts: [Map] },
- base:
- Mongoose {
- connections: [Array],
- models: [Object],
- modelSchemas: [Object],
- options: [Object],
- _pluralize: [Function: pluralize],
- plugins: [Array] },
- modelName: 'User',
- model: [Function: model],
- db:
- NativeConnection {
- base: [Mongoose],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- options: null,
- otherDbs: [],
- relatedDbs: {},
- states: [Object],
- _readyState: 1,
- _closeCalled: false,
- _hasOpened: true,
- '$internalEmitter': [EventEmitter],
- _listening: false,
- _connectionOptions: [Object],
- name: 'winwin_objects',
- host: 'ds125693.mlab.com',
- port: 25693,
- user: 'winwin',
- pass: 'LAmeodu82',
- client: [MongoClient],
- '$initialConnection': [Promise],
- db: [Db] },
- discriminators: undefined,
- '$appliedMethods': true,
- '$appliedHooks': true,
- schema:
- Schema {
- obj: [Object],
- paths: [Object],
- aliases: {},
- subpaths: {},
- virtuals: [Object],
- singleNestedPaths: {},
- nested: {},
- inherits: {},
- callQueue: [],
- _indexes: [],
- methods: {},
- methodOptions: {},
- statics: {},
- tree: [Object],
- query: {},
- childSchemas: [],
- plugins: [Array],
- '$id': 2,
- s: [Object],
- _userProvidedOptions: {},
- options: [Object],
- '$globalPluginsApplied': true,
- _requiredpaths: [Array] },
- collection:
- NativeCollection {
- collection: [Collection],
- opts: [Object],
- name: 'users',
- collectionName: 'users',
- conn: [NativeConnection],
- queue: [],
- buffer: false,
- emitter: [EventEmitter] },
- Query: { [Function] base: [Query] },
- '$__insertMany': [Function],
- '$init': Promise { [Circular] },
- '$caught': true },
- schema:
- Schema {
- obj:
- { _id: [Function],
- name: [Object],
- phone: [Function: String],
- email: [Function: String],
- amo_id: [Function: Number],
- amo_domain: [Function: String],
- upload_limit: [Function: Number] },
- paths:
- { _id: [ObjectId],
- name: [SchemaString],
- phone: [SchemaString],
- email: [SchemaString],
- amo_id: [SchemaNumber],
- amo_domain: [SchemaString],
- upload_limit: [SchemaNumber],
- __v: [SchemaNumber] },
- aliases: {},
- subpaths: {},
- virtuals: { id: [VirtualType] },
- singleNestedPaths: {},
- nested: {},
- inherits: {},
- callQueue: [],
- _indexes: [],
- methods: {},
- methodOptions: {},
- statics: {},
- tree:
- { _id: [Function],
- name: [Object],
- phone: [Function: String],
- email: [Function: String],
- amo_id: [Function: Number],
- amo_domain: [Function: String],
- upload_limit: [Function: Number],
- __v: [Function: Number],
- id: [VirtualType] },
- query: {},
- childSchemas: [],
- plugins: [ [Object], [Object], [Object], [Object], [Object] ],
- '$id': 2,
- s: { hooks: [Kareem] },
- _userProvidedOptions: {},
- 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,
- _requiredpaths: [ 'name' ] },
- op: 'findOne',
- options: {},
- _conditions: { _id: null },
- _fields: undefined,
- _update: undefined,
- _path: undefined,
- _distinct: undefined,
- _collection:
- NodeCollection {
- collection:
- NativeCollection {
- collection: [Collection],
- opts: [Object],
- name: 'users',
- collectionName: 'users',
- conn: [NativeConnection],
- queue: [],
- buffer: false,
- emitter: [EventEmitter] },
- collectionName: 'users' },
- _traceFunction: undefined,
- '$useProjection': true }
- (node:2384) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
- { n: 0,
- nModified: 0,
- opTime:
- { ts:
- Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1541959231 },
- t: 1 },
- electionId: 7fffffff0000000000000001,
- ok: 1,
- operationTime:
- Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1541959231 },
- '$clusterTime':
- { clusterTime:
- Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1541959231 },
- signature: { hash: [Binary], keyId: [Long] } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement