Advertisement
Guest User

Untitled

a guest
Nov 11th, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. Query {
  2. _mongooseOptions: {},
  3. _transforms: [],
  4. mongooseCollection:
  5. NativeCollection {
  6. collection: Collection { s: [Object] },
  7. opts:
  8. { bufferCommands: true,
  9. capped: false,
  10. '$wasForceClosed': undefined },
  11. name: 'users',
  12. collectionName: 'users',
  13. conn:
  14. NativeConnection {
  15. base: [Mongoose],
  16. collections: [Object],
  17. models: [Object],
  18. config: [Object],
  19. replica: false,
  20. options: null,
  21. otherDbs: [],
  22. relatedDbs: {},
  23. states: [Object],
  24. _readyState: 1,
  25. _closeCalled: false,
  26. _hasOpened: true,
  27. '$internalEmitter': [EventEmitter],
  28. _listening: false,
  29. _connectionOptions: [Object],
  30. name: 'winwin_objects',
  31. host: 'ds125693.mlab.com',
  32. port: 25693,
  33. user: 'winwin',
  34. pass: 'LAmeodu82',
  35. client: [MongoClient],
  36. '$initialConnection': [Promise],
  37. db: [Db] },
  38. queue: [],
  39. buffer: false,
  40. emitter:
  41. EventEmitter { _events: {}, _eventsCount: 0, _maxListeners: undefined } },
  42. model:
  43. { [Function: model]
  44. hooks: Kareem { _pres: [Map], _posts: [Map] },
  45. base:
  46. Mongoose {
  47. connections: [Array],
  48. models: [Object],
  49. modelSchemas: [Object],
  50. options: [Object],
  51. _pluralize: [Function: pluralize],
  52. plugins: [Array] },
  53. modelName: 'User',
  54. model: [Function: model],
  55. db:
  56. NativeConnection {
  57. base: [Mongoose],
  58. collections: [Object],
  59. models: [Object],
  60. config: [Object],
  61. replica: false,
  62. options: null,
  63. otherDbs: [],
  64. relatedDbs: {},
  65. states: [Object],
  66. _readyState: 1,
  67. _closeCalled: false,
  68. _hasOpened: true,
  69. '$internalEmitter': [EventEmitter],
  70. _listening: false,
  71. _connectionOptions: [Object],
  72. name: 'winwin_objects',
  73. host: 'ds125693.mlab.com',
  74. port: 25693,
  75. user: 'winwin',
  76. pass: 'LAmeodu82',
  77. client: [MongoClient],
  78. '$initialConnection': [Promise],
  79. db: [Db] },
  80. discriminators: undefined,
  81. '$appliedMethods': true,
  82. '$appliedHooks': true,
  83. schema:
  84. Schema {
  85. obj: [Object],
  86. paths: [Object],
  87. aliases: {},
  88. subpaths: {},
  89. virtuals: [Object],
  90. singleNestedPaths: {},
  91. nested: {},
  92. inherits: {},
  93. callQueue: [],
  94. _indexes: [],
  95. methods: {},
  96. methodOptions: {},
  97. statics: {},
  98. tree: [Object],
  99. query: {},
  100. childSchemas: [],
  101. plugins: [Array],
  102. '$id': 2,
  103. s: [Object],
  104. _userProvidedOptions: {},
  105. options: [Object],
  106. '$globalPluginsApplied': true,
  107. _requiredpaths: [Array] },
  108. collection:
  109. NativeCollection {
  110. collection: [Collection],
  111. opts: [Object],
  112. name: 'users',
  113. collectionName: 'users',
  114. conn: [NativeConnection],
  115. queue: [],
  116. buffer: false,
  117. emitter: [EventEmitter] },
  118. Query: { [Function] base: [Query] },
  119. '$__insertMany': [Function],
  120. '$init': Promise { [Circular] },
  121. '$caught': true },
  122. schema:
  123. Schema {
  124. obj:
  125. { _id: [Function],
  126. name: [Object],
  127. phone: [Function: String],
  128. email: [Function: String],
  129. amo_id: [Function: Number],
  130. amo_domain: [Function: String],
  131. upload_limit: [Function: Number] },
  132. paths:
  133. { _id: [ObjectId],
  134. name: [SchemaString],
  135. phone: [SchemaString],
  136. email: [SchemaString],
  137. amo_id: [SchemaNumber],
  138. amo_domain: [SchemaString],
  139. upload_limit: [SchemaNumber],
  140. __v: [SchemaNumber] },
  141. aliases: {},
  142. subpaths: {},
  143. virtuals: { id: [VirtualType] },
  144. singleNestedPaths: {},
  145. nested: {},
  146. inherits: {},
  147. callQueue: [],
  148. _indexes: [],
  149. methods: {},
  150. methodOptions: {},
  151. statics: {},
  152. tree:
  153. { _id: [Function],
  154. name: [Object],
  155. phone: [Function: String],
  156. email: [Function: String],
  157. amo_id: [Function: Number],
  158. amo_domain: [Function: String],
  159. upload_limit: [Function: Number],
  160. __v: [Function: Number],
  161. id: [VirtualType] },
  162. query: {},
  163. childSchemas: [],
  164. plugins: [ [Object], [Object], [Object], [Object], [Object] ],
  165. '$id': 2,
  166. s: { hooks: [Kareem] },
  167. _userProvidedOptions: {},
  168. options:
  169. { typeKey: 'type',
  170. id: true,
  171. noVirtualId: false,
  172. _id: true,
  173. noId: false,
  174. validateBeforeSave: true,
  175. read: null,
  176. shardKey: null,
  177. autoIndex: null,
  178. minimize: true,
  179. discriminatorKey: '__t',
  180. versionKey: '__v',
  181. capped: false,
  182. bufferCommands: true,
  183. strict: true,
  184. pluralization: true },
  185. '$globalPluginsApplied': true,
  186. _requiredpaths: [ 'name' ] },
  187. op: 'findOne',
  188. options: {},
  189. _conditions: { _id: null },
  190. _fields: undefined,
  191. _update: undefined,
  192. _path: undefined,
  193. _distinct: undefined,
  194. _collection:
  195. NodeCollection {
  196. collection:
  197. NativeCollection {
  198. collection: [Collection],
  199. opts: [Object],
  200. name: 'users',
  201. collectionName: 'users',
  202. conn: [NativeConnection],
  203. queue: [],
  204. buffer: false,
  205. emitter: [EventEmitter] },
  206. collectionName: 'users' },
  207. _traceFunction: undefined,
  208. '$useProjection': true }
  209. (node:2384) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
  210. { n: 0,
  211. nModified: 0,
  212. opTime:
  213. { ts:
  214. Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1541959231 },
  215. t: 1 },
  216. electionId: 7fffffff0000000000000001,
  217. ok: 1,
  218. operationTime:
  219. Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1541959231 },
  220. '$clusterTime':
  221. { clusterTime:
  222. Timestamp { _bsontype: 'Timestamp', low_: 1, high_: 1541959231 },
  223. signature: { hash: [Binary], keyId: [Long] } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement