Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.48 KB | None | 0 0
  1. { [Function: model]
  2. hooks: Kareem { _pres: {}, _posts: {} },
  3. base:
  4. Mongoose {
  5. connections: [ [Object] ],
  6. plugins: [],
  7. models:
  8. { Address: [Object],
  9. Certificate: [Object],
  10. Circle: [Object],
  11. Feedback: [Object],
  12. Infrastructure: [Object],
  13. User: [Circular] },
  14. modelSchemas:
  15. { Address: [Object],
  16. Certificate: [Object],
  17. Circle: [Object],
  18. Feedback: [Object],
  19. Infrastructure: [Object],
  20. User: [Object] },
  21. options: { pluralization: true } },
  22. modelName: 'User',
  23. model: [Function: model],
  24. db:
  25. NativeConnection {
  26. base:
  27. Mongoose {
  28. connections: [Object],
  29. plugins: [],
  30. models: [Object],
  31. modelSchemas: [Object],
  32. options: [Object] },
  33. collections:
  34. { addresses: [Object],
  35. certificates: [Object],
  36. circles: [Object],
  37. feedbacks: [Object],
  38. infrastructures: [Object],
  39. users: [Object] },
  40. models:
  41. { Address: [Object],
  42. Certificate: [Object],
  43. Circle: [Object],
  44. Feedback: [Object],
  45. Infrastructure: [Object],
  46. User: [Circular] },
  47. config: { autoIndex: true },
  48. replica: false,
  49. hosts: null,
  50. host: null,
  51. port: null,
  52. user: null,
  53. pass: null,
  54. name: null,
  55. options: null,
  56. otherDbs: [],
  57. _readyState: 0,
  58. _closeCalled: false,
  59. _hasOpened: false,
  60. _listening: false },
  61. discriminators: undefined,
  62. schema:
  63. Schema {
  64. paths:
  65. { firstName: [Object],
  66. lastName: [Object],
  67. pseudo: [Object],
  68. email: [Object],
  69. phonePrefix: [Object],
  70. phoneNumber: [Object],
  71. age: [Object],
  72. sex: [Object],
  73. address: [Object],
  74. sports: [Object],
  75. feedbacks: [Object],
  76. messages: [Object],
  77. circles: [Object],
  78. _id: [Object],
  79. __v: [Object] },
  80. subpaths: {},
  81. virtuals: { id: [Object] },
  82. singleNestedPaths: {},
  83. nested: {},
  84. inherits: {},
  85. callQueue: [ [Object], [Object], [Object], [Object], [Object] ],
  86. _indexes: [],
  87. methods: {},
  88. statics: {},
  89. tree:
  90. { firstName: [Object],
  91. lastName: [Object],
  92. pseudo: [Object],
  93. email: [Object],
  94. phonePrefix: [Object],
  95. phoneNumber: [Object],
  96. age: [Object],
  97. sex: [Object],
  98. address: [Object],
  99. sports: [Object],
  100. feedbacks: [Object],
  101. messages: [Object],
  102. circles: [Object],
  103. _id: [Object],
  104. id: [Object],
  105. __v: [Function: Number] },
  106. _requiredpaths: undefined,
  107. discriminatorMapping: undefined,
  108. _indexedpaths: undefined,
  109. query: {},
  110. s: { hooks: [Object], kareemHooks: [Object] },
  111. options:
  112. { typeKey: 'type',
  113. id: true,
  114. noVirtualId: false,
  115. _id: true,
  116. noId: false,
  117. validateBeforeSave: true,
  118. read: null,
  119. shardKey: null,
  120. autoIndex: null,
  121. minimize: true,
  122. discriminatorKey: '__t',
  123. versionKey: '__v',
  124. capped: false,
  125. bufferCommands: true,
  126. strict: true,
  127. pluralization: true } },
  128. collection:
  129. NativeCollection {
  130. collection: null,
  131. opts: { bufferCommands: true, capped: false },
  132. name: 'users',
  133. collectionName: 'users',
  134. conn:
  135. NativeConnection {
  136. base: [Object],
  137. collections: [Object],
  138. models: [Object],
  139. config: [Object],
  140. replica: false,
  141. hosts: null,
  142. host: null,
  143. port: null,
  144. user: null,
  145. pass: null,
  146. name: null,
  147. options: null,
  148. otherDbs: [],
  149. _readyState: 0,
  150. _closeCalled: false,
  151. _hasOpened: false,
  152. _listening: false },
  153. queue: [],
  154. buffer: true,
  155. emitter:
  156. EventEmitter {
  157. domain: null,
  158. _events: {},
  159. _eventsCount: 0,
  160. _maxListeners: undefined } },
  161. Query:
  162. { [Function]
  163. base:
  164. Query {
  165. toConstructor: [Function: toConstructor],
  166. setOptions: [Function],
  167. collection: [Function: collection],
  168. '$where': [Function],
  169. where: [Function],
  170. equals: [Function: equals],
  171. eq: [Function: eq],
  172. or: [Function: or],
  173. nor: [Function: nor],
  174. and: [Function: and],
  175. gt: [Function],
  176. gte: [Function],
  177. lt: [Function],
  178. lte: [Function],
  179. ne: [Function],
  180. in: [Function],
  181. nin: [Function],
  182. all: [Function],
  183. regex: [Function],
  184. size: [Function],
  185. maxDistance: [Function],
  186. minDistance: [Function],
  187. mod: [Function],
  188. exists: [Function],
  189. elemMatch: [Function],
  190. within: [Function: within],
  191. box: [Function],
  192. polygon: [Function],
  193. circle: [Function],
  194. near: [Function: near],
  195. intersects: [Function: intersects],
  196. geometry: [Function: geometry],
  197. select: [Function: select],
  198. slice: [Function],
  199. sort: [Function],
  200. limit: [Function],
  201. skip: [Function],
  202. maxScan: [Function],
  203. batchSize: [Function],
  204. comment: [Function],
  205. maxTime: [Function],
  206. snapshot: [Function],
  207. hint: [Function],
  208. slaveOk: [Function],
  209. read: [Function],
  210. tailable: [Function],
  211. merge: [Function],
  212. find: [Function],
  213. cursor: [Function: cursor],
  214. findOne: [Function],
  215. count: [Function],
  216. distinct: [Function],
  217. update: [Function: update],
  218. remove: [Function],
  219. findOneAndUpdate: [Function],
  220. findOneAndRemove: [Function],
  221. _findAndModify: [Function],
  222. _wrapCallback: [Function],
  223. setTraceFunction: [Function],
  224. exec: [Function: exec],
  225. thunk: [Function],
  226. then: [Function],
  227. stream: [Function],
  228. selected: [Function: selected],
  229. selectedInclusively: [Function: selectedInclusively],
  230. selectedExclusively: [Function: selectedExclusively],
  231. _mergeUpdate: [Function],
  232. _optionsForExec: [Function],
  233. _fieldsForExec: [Function],
  234. _updateForExec: [Function],
  235. _ensurePath: [Function],
  236. _validate: [Function] } },
  237. '$__insertMany': [Function],
  238. insertMany: [Function] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement