Query {
_mongooseOptions: {},
mongooseCollection:
NativeCollection {
collection: null,
opts:
{ bufferCommands: true,
capped: false,
'$wasForceClosed': undefined },
name: 'facebook',
collectionName: 'facebook',
conn:
NativeConnection {
base: [Mongoose],
collections: [Object],
models: [Object],
config: [Object],
replica: false,
options: null,
otherDbs: [],
relatedDbs: {},
states: [Object],
_readyState: 2,
_closeCalled: false,
_hasOpened: false,
_listening: false,
_connectionOptions: [Object],
client: [MongoClient],
name: 'accounts',
'$initialConnection': [Promise],
then: [Function],
catch: [Function],
_events: [Object],
_eventsCount: 1 },
queue: [],
buffer: true,
emitter: EventEmitter { _events: {}, _eventsCount: 0, _maxListeners: undefined } },
model:
{ [Function: model]
hooks: Kareem { _pres: [Object], _posts: [Object] },
base:
Mongoose {
connections: [Array],
models: [Object],
modelSchemas: [Object],
options: [Object],
_pluralize: [Function: pluralize],
plugins: [Array] },
modelName: 'facebook',
model: [Function: model],
db:
NativeConnection {
base: [Mongoose],
collections: [Object],
models: [Object],
config: [Object],
replica: false,
options: null,
otherDbs: [],
relatedDbs: {},
states: [Object],
_readyState: 2,
_closeCalled: false,
_hasOpened: false,
_listening: false,
_connectionOptions: [Object],
client: [MongoClient],
name: 'accounts',
'$initialConnection': [Promise],
then: [Function],
catch: [Function],
_events: [Object],
_eventsCount: 1 },
discriminators: undefined,
'$appliedMethods': true,
'$appliedHooks': true,
schema:
Schema {
obj: [Object],
paths: [Object],
aliases: {},
subpaths: {},
virtuals: [Object],
singleNestedPaths: {},
nested: {},
inherits: {},
callQueue: [],
_indexes: [],
methods: [Object],
methodOptions: {},
statics: {},
tree: [Object],
query: {},
childSchemas: [],
plugins: [Array],
s: [Object],
_userProvidedOptions: [Object],
options: [Object],
'$globalPluginsApplied': true,
_requiredpaths: [] },
collection:
NativeCollection {
collection: null,
opts: [Object],
name: 'facebook',
collectionName: 'facebook',
conn: [NativeConnection],
queue: [],
buffer: true,
emitter: [EventEmitter] },
Query: { [Function] base: [Query] },
'$__insertMany': [Function],
'$init': Promise { <pending>, catch: [Function] } },
schema:
Schema {
obj: { token: [Function: String] },
paths: { token: [SchemaString], _id: [ObjectId], __v: [SchemaNumber] },
aliases: {},
subpaths: {},
virtuals: { id: [VirtualType] },
singleNestedPaths: {},
nested: {},
inherits: {},
callQueue: [],
_indexes: [],
methods: { checkExist: [Function] },
methodOptions: {},
statics: {},
tree:
{ token: [Function: String],
_id: [Object],
__v: [Function: Number],
id: [VirtualType] },
query: {},
childSchemas: [],
plugins: [ [Object], [Object], [Object], [Object], [Object] ],
s: { hooks: [Kareem] },
_userProvidedOptions: { collection: 'facebook' },
options:
{ collection: 'facebook',
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: [] },
op: 'findOne',
options: {},
_conditions: { token: 'no' },
_fields: undefined,
_update: undefined,
_path: undefined,
_distinct: undefined,
_collection:
NodeCollection {
collection:
NativeCollection {
collection: null,
opts: [Object],
name: 'facebook',
collectionName: 'facebook',
conn: [NativeConnection],
queue: [],
buffer: true,
emitter: [EventEmitter] },
collectionName: 'facebook' },
_traceFunction: undefined } |