Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- obj: {
- name: { },
- password: { },
- email: {
- lowercase: true
- }
- },
- paths: {
- name: {
- enumValues: [],
- regExp: null,
- path: 'name',
- instance: 'String',
- validators: [],
- setters: [],
- getters: [],
- options: { },
- _index: null
- },
- password: {
- enumValues: [],
- regExp: null,
- path: 'password',
- instance: 'String',
- validators: [],
- setters: [
- null
- ],
- getters: [],
- options: { },
- _index: null
- },
- email: {
- enumValues: [],
- regExp: null,
- path: 'email',
- instance: 'String',
- validators: [],
- setters: [
- null
- ],
- getters: [],
- options: {
- lowercase: true
- },
- _index: null
- },
- _id: {
- path: '_id',
- instance: 'ObjectID',
- validators: [],
- setters: [
- null
- ],
- getters: [],
- options: {
- auto: true
- },
- _index: null
- },
- __v: {
- path: '__v',
- instance: 'Number',
- validators: [],
- setters: [],
- getters: [],
- options: { },
- _index: null
- }
- },
- subpaths: { },
- virtuals: {
- id: {
- path: 'id',
- getters: [
- null
- ],
- setters: [],
- options: { }
- }
- },
- singleNestedPaths: { },
- nested: { },
- inherits: { },
- callQueue: [
- [
- 'pre',
- {
- 0: 'save',
- 1: false
- }
- ],
- [
- 'pre',
- {
- 0: 'save',
- 1: true
- }
- ],
- [
- 'pre',
- {
- 0: 'validate',
- 1: true
- }
- ],
- [
- 'pre',
- {
- 0: 'remove',
- 1: true
- }
- ]
- ],
- _indexes: [],
- methods: { },
- statics: { },
- tree: {
- name: { },
- password: { },
- email: {
- lowercase: true
- },
- _id: {
- auto: true
- },
- id: {
- path: 'id',
- getters: [
- null
- ],
- setters: [],
- options: { }
- }
- },
- query: { },
- childSchemas: [],
- s: {
- hooks: {
- _pres: { },
- _posts: { }
- },
- kareemHooks: {
- count: true,
- find: true,
- findOne: true,
- findOneAndUpdate: true,
- findOneAndRemove: true,
- insertMany: true,
- update: true,
- updateMany: true,
- updateOne: true
- }
- },
- 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
- }
Add Comment
Please, Sign In to add comment