Advertisement
Guest User

Untitled

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