Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. { [Function: model]
  2. hooks:
  3. Kareem {
  4. _pres: Map { 'save' => [Array], 'remove' => [Array] },
  5. _posts: Map { 'save' => [Array], 'init' => [Array] } },
  6. base:
  7. Mongoose {
  8. connections: [ [NativeConnection] ],
  9. models:
  10. { User: [Function],
  11. Maquina: [Function],
  12. Talhao: [Function],
  13. Implemento: [Function],
  14. Operacao: [Circular] },
  15. modelSchemas:
  16. { User: [Schema],
  17. Maquina: [Schema],
  18. Talhao: [Schema],
  19. Implemento: [Schema],
  20. Operacao: [Schema] },
  21. options: { pluralization: true },
  22. _pluralize: [Function: pluralize],
  23. Schema: { [Function: Schema] reserved: [Object], Types: [Object], ObjectId: [Function] },
  24. model: [Function],
  25. plugins: [ [Array], [Array], [Array], [Array] ] },
  26. modelName: 'Operacao',
  27. model: [Function: model],
  28. db:
  29. NativeConnection {
  30. base:
  31. Mongoose {
  32. connections: [Array],
  33. models: [Object],
  34. modelSchemas: [Object],
  35. options: [Object],
  36. _pluralize: [Function: pluralize],
  37. Schema: [Function],
  38. model: [Function],
  39. plugins: [Array] },
  40. collections:
  41. { users: [NativeCollection],
  42. maquinas: [NativeCollection],
  43. talhaos: [NativeCollection],
  44. implementos: [NativeCollection],
  45. operacaos: [NativeCollection] },
  46. models:
  47. { User: [Function],
  48. Maquina: [Function],
  49. Talhao: [Function],
  50. Implemento: [Function],
  51. Operacao: [Circular] },
  52. config: { autoIndex: true },
  53. replica: false,
  54. options: null,
  55. otherDbs: [],
  56. relatedDbs: {},
  57. states:
  58. { '0': 'disconnected',
  59. '1': 'connected',
  60. '2': 'connecting',
  61. '3': 'disconnecting',
  62. '99': 'uninitialized',
  63. disconnected: 0,
  64. connected: 1,
  65. connecting: 2,
  66. disconnecting: 3,
  67. uninitialized: 99 },
  68. _readyState: 1,
  69. _closeCalled: false,
  70. _hasOpened: true,
  71. '$internalEmitter': EventEmitter { _events: [Object], _eventsCount: 1, _maxListeners: 0 },
  72. _listening: false,
  73. _connectionOptions: { useNewUrlParser: true, promiseLibrary: [Function: Promise] },
  74. name: 'sysfarm',
  75. host: 'localhost',
  76. port: 27017,
  77. user: undefined,
  78. pass: undefined,
  79. client:
  80. MongoClient {
  81. _events: [Object],
  82. _eventsCount: 1,
  83. _maxListeners: undefined,
  84. s: [Object],
  85. topology: [Server] },
  86. '$initialConnection': Promise { [Circular] },
  87. db:
  88. Db {
  89. _events: [Object],
  90. _eventsCount: 3,
  91. _maxListeners: undefined,
  92. s: [Object],
  93. serverConfig: [Getter],
  94. bufferMaxEntries: [Getter],
  95. databaseName: [Getter] } },
  96. discriminators: undefined,
  97. events: EventEmitter { _events: {}, _eventsCount: 0, _maxListeners: undefined },
  98. '$appliedMethods': true,
  99. '$appliedHooks': true,
  100. _middleware:
  101. Kareem {
  102. _pres: Map { 'save' => [Array], 'remove' => [Array] },
  103. _posts: Map { 'save' => [Array], 'init' => [Array] } },
  104. schema:
  105. Schema {
  106. obj:
  107. { maquina: [Object]
  108. paths:
  109. { maquina: [SchemaString],
  110. _id: [ObjectId],
  111. __v: [SchemaNumber] },
  112. aliases: {},
  113. subpaths: {},
  114. virtuals: { id: [VirtualType] },
  115. singleNestedPaths: {},
  116. nested: {},
  117. inherits: {},
  118. callQueue: [],
  119. _indexes: [],
  120. methods: {},
  121. methodOptions: {},
  122. statics: {},
  123. tree:
  124. { maquina: [Object],
  125. implemento: [Object],
  126. talhao: [Object],
  127. haporh: [Object],
  128. _id: [Object],
  129. __v: [Function: Number],
  130. id: [VirtualType] },
  131. query: {},
  132. childSchemas: [],
  133. plugins: [ [Object], [Object], [Object], [Object], [Object] ],
  134. '$id': 5,
  135. s: { hooks: [Kareem] },
  136. _userProvidedOptions: {},
  137. options:
  138. { typeKey: 'type',
  139. id: true,
  140. noVirtualId: false,
  141. _id: true,
  142. noId: false,
  143. validateBeforeSave: true,
  144. read: null,
  145. shardKey: null,
  146. autoIndex: null,
  147. minimize: true,
  148. discriminatorKey: '__t',
  149. versionKey: '__v',
  150. capped: false,
  151. bufferCommands: true,
  152. strict: true,
  153. pluralization: true },
  154. '$globalPluginsApplied': true,
  155. [Symbol(Mongoose.helpers.setParentPointers)]: true },
  156. collection:
  157. NativeCollection {
  158. collection: Collection { s: [Object] },
  159. opts:
  160. { bufferCommands: true,
  161. capped: false,
  162. '$wasForceClosed': undefined },
  163. name: 'operacaos',
  164. collectionName: 'operacaos',
  165. conn:
  166. NativeConnection {
  167. base: [Mongoose],
  168. collections: [Object],
  169. models: [Object],
  170. config: [Object],
  171. replica: false,
  172. options: null,
  173. otherDbs: [],
  174. relatedDbs: {},
  175. states: [Object],
  176. _readyState: 1,
  177. _closeCalled: false,
  178. _hasOpened: true,
  179. '$internalEmitter': [EventEmitter],
  180. _listening: false,
  181. _connectionOptions: [Object],
  182. name: 'sysfarm',
  183. host: 'localhost',
  184. port: 27017,
  185. user: undefined,
  186. pass: undefined,
  187. client: [MongoClient],
  188. '$initialConnection': [Promise],
  189. db: [Db] },
  190. queue: [],
  191. buffer: false,
  192. emitter: EventEmitter { _events: {}, _eventsCount: 0, _maxListeners: undefined } },
  193. Query:
  194. { [Function]
  195. base:
  196. Query {
  197. toConstructor: [Function: toConstructor],
  198. setOptions: [Function],
  199. collection: [Function: collection],
  200. collation: [Function],
  201. '$where': [Function],
  202. where: [Function],
  203. equals: [Function: equals],
  204. eq: [Function: eq],
  205. or: [Function: or],
  206. nor: [Function: nor],
  207. and: [Function: and],
  208. gt: [Function],
  209. gte: [Function],
  210. lt: [Function],
  211. lte: [Function],
  212. ne: [Function],
  213. in: [Function],
  214. nin: [Function],
  215. all: [Function],
  216. regex: [Function],
  217. size: [Function],
  218. maxDistance: [Function],
  219. minDistance: [Function],
  220. mod: [Function],
  221. exists: [Function],
  222. elemMatch: [Function],
  223. within: [Function: within],
  224. box: [Function],
  225. polygon: [Function],
  226. circle: [Function],
  227. near: [Function: near],
  228. intersects: [Function: intersects],
  229. geometry: [Function: geometry],
  230. select: [Function: select],
  231. slice: [Function],
  232. sort: [Function],
  233. limit: [Function],
  234. skip: [Function],
  235. maxScan: [Function],
  236. batchSize: [Function],
  237. comment: [Function],
  238. maxTimeMS: [Function],
  239. maxTime: [Function],
  240. snapshot: [Function],
  241. hint: [Function],
  242. j: [Function: j],
  243. slaveOk: [Function],
  244. setReadPreference: [Function],
  245. read: [Function],
  246. r: [Function],
  247. readConcern: [Function],
  248. tailable: [Function],
  249. w: [Function: writeConcern],
  250. writeConcern: [Function: writeConcern],
  251. wTimeout: [Function: wtimeout],
  252. wtimeout: [Function: wtimeout],
  253. merge: [Function],
  254. find: [Function],
  255. cursor: [Function: cursor],
  256. findOne: [Function],
  257. count: [Function],
  258. distinct: [Function],
  259. update: [Function: update],
  260. updateMany: [Function: updateMany],
  261. updateOne: [Function: updateOne],
  262. replaceOne: [Function: replaceOne],
  263. remove: [Function],
  264. deleteOne: [Function],
  265. deleteMany: [Function],
  266. findOneAndUpdate: [Function],
  267. findOneAndDelete: [Function],
  268. findOneAndRemove: [Function],
  269. _findAndModify: [Function],
  270. _wrapCallback: [Function],
  271. setTraceFunction: [Function],
  272. exec: [Function: exec],
  273. thunk: [Function],
  274. then: [Function],
  275. stream: [Function],
  276. selected: [Function: selected],
  277. selectedInclusively: [Function: selectedInclusively],
  278. selectedExclusively: [Function: selectedExclusively],
  279. _mergeUpdate: [Function],
  280. _optionsForExec: [Function],
  281. _fieldsForExec: [Function],
  282. _updateForExec: [Function],
  283. _ensurePath: [Function],
  284. _validate: [Function] } },
  285. '$__insertMany': [Function],
  286. '$init': Promise { [Circular] },
  287. '$caught': true,
  288. [Symbol(mongoose#Model)]: true }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement