Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nodemon] starting `node app.js`
- Server is listening on port ${port}
- req.body.password User!2017
- req.body.email utente.receitas4@hotmail.com
- users: Query {
- _mongooseOptions: {},
- mongooseCollection:
- NativeCollection {
- collection: Collection { s: [Object] },
- opts: { bufferCommands: true, capped: false },
- name: 'users',
- collectionName: 'users',
- conn:
- NativeConnection {
- base: [Object],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- hosts: null,
- host: 'ds237475.mlab.com',
- port: 37475,
- user: '1071205',
- pass: 'greceitas2017',
- name: 'greceitas',
- options: [Object],
- otherDbs: [],
- _readyState: 1,
- _closeCalled: false,
- _hasOpened: true,
- _listening: false,
- db: [Object] },
- queue: [],
- buffer: false,
- emitter:
- EventEmitter {
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined } },
- model:
- { [Function: model]
- hooks: Kareem { _pres: {}, _posts: {} },
- base:
- Mongoose {
- connections: [Array],
- plugins: [],
- models: [Object],
- modelSchemas: [Object],
- options: [Object] },
- modelName: 'user',
- model: [Function: model],
- db:
- NativeConnection {
- base: [Object],
- collections: [Object],
- models: [Object],
- config: [Object],
- replica: false,
- hosts: null,
- host: 'ds237475.mlab.com',
- port: 37475,
- user: '1071205',
- pass: 'greceitas2017',
- name: 'greceitas',
- options: [Object],
- otherDbs: [],
- _readyState: 1,
- _closeCalled: false,
- _hasOpened: true,
- _listening: false,
- db: [Object] },
- discriminators: undefined,
- schema:
- Schema {
- obj: [Object],
- paths: [Object],
- subpaths: {},
- virtuals: [Object],
- singleNestedPaths: {},
- nested: {},
- inherits: {},
- callQueue: [Array],
- _indexes: [],
- methods: [Object],
- statics: {},
- tree: [Object],
- _requiredpaths: undefined,
- discriminatorMapping: undefined,
- _indexedpaths: undefined,
- query: {},
- childSchemas: [],
- s: [Object],
- options: [Object],
- '$globalPluginsApplied': true },
- collection:
- NativeCollection {
- collection: [Object],
- opts: [Object],
- name: 'users',
- collectionName: 'users',
- conn: [Object],
- queue: [],
- buffer: false,
- emitter: [Object] },
- Query: { [Function] base: [Object] },
- '$__insertMany': [Function],
- insertMany: [Function] },
- schema:
- Schema {
- obj:
- { nome: [Function: String],
- email: [Object],
- password: [Object],
- medico: [Object],
- utente: [Object],
- farmaceutico: [Object] },
- paths:
- { nome: [Object],
- email: [Object],
- password: [Object],
- medico: [Object],
- utente: [Object],
- farmaceutico: [Object],
- _id: [Object],
- __v: [Object] },
- subpaths: {},
- virtuals: { id: [Object] },
- singleNestedPaths: {},
- nested: {},
- inherits: {},
- callQueue: [ [Array], [Array], [Array], [Array], [Array] ],
- _indexes: [],
- methods: { isValidPassword: [AsyncFunction] },
- statics: {},
- tree:
- { nome: [Function: String],
- email: [Object],
- password: [Object],
- medico: [Object],
- utente: [Object],
- farmaceutico: [Object],
- _id: [Object],
- id: [Object],
- __v: [Function: Number] },
- _requiredpaths: undefined,
- discriminatorMapping: undefined,
- _indexedpaths: undefined,
- query: {},
- childSchemas: [],
- s: { hooks: [Object], kareemHooks: [Object] },
- options:
- { retainKeyOrder: false,
- 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 },
- op: 'find',
- options: { retainKeyOrder: false },
- _conditions: { email: 'utente.receitas4@hotmail.com' },
- _fields: undefined,
- _update: undefined,
- _path: undefined,
- _distinct: undefined,
- _collection:
- NodeCollection {
- collection:
- NativeCollection {
- collection: [Object],
- opts: [Object],
- name: 'users',
- collectionName: 'users',
- conn: [Object],
- queue: [],
- buffer: false,
- emitter: [Object] },
- collectionName: 'users' },
- _traceFunction: undefined,
- _castError: null,
- _count: [Function],
- _execUpdate: [Function],
- _find: [Function],
- _findOne: [Function],
- _findOneAndRemove: [Function],
- _findOneAndUpdate: [Function],
- _updateMany: [Function],
- _updateOne: [Function] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement