Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.65 KB | None | 0 0
  1. Query {
  2.   _mongooseOptions: {},
  3.   mongooseCollection:
  4.    NativeCollection {
  5.      collection: null,
  6.      opts: { bufferCommands: true, capped: false },
  7.      name: 'posts',
  8.      collectionName: 'posts',
  9.      conn:
  10.       NativeConnection {
  11.         base: [Object],
  12.         collections: [Object],
  13.         models: [Object],
  14.         config: [Object],
  15.         replica: false,
  16.         hosts: null,
  17.         host: 'localhost',
  18.         port: 27017,
  19.         user: undefined,
  20.         pass: undefined,
  21.         name: 'blog',
  22.         options: [Object],
  23.         otherDbs: [],
  24.         _readyState: 2,
  25.         _closeCalled: false,
  26.         _hasOpened: false,
  27.         _listening: false,
  28.         db: [Object] },
  29.      queue: [],
  30.      buffer: true,
  31.      emitter:
  32.       EventEmitter {
  33.         domain: null,
  34.         _events: {},
  35.         _eventsCount: 0,
  36.         _maxListeners: undefined } },
  37.   model:
  38.    { [Function: model]
  39.      hooks: Kareem { _pres: {}, _posts: {} },
  40.      base:
  41.       Mongoose {
  42.         connections: [Object],
  43.         plugins: [],
  44.         models: [Object],
  45.         modelSchemas: [Object],
  46.         options: [Object],
  47.         exports: [Circular] },
  48.      modelName: 'Post',
  49.      model: [Function: model],
  50.      db:
  51.       NativeConnection {
  52.         base: [Object],
  53.         collections: [Object],
  54.         models: [Object],
  55.         config: [Object],
  56.         replica: false,
  57.         hosts: null,
  58.         host: 'localhost',
  59.         port: 27017,
  60.         user: undefined,
  61.         pass: undefined,
  62.         name: 'blog',
  63.         options: [Object],
  64.         otherDbs: [],
  65.         _readyState: 2,
  66.         _closeCalled: false,
  67.         _hasOpened: false,
  68.         _listening: false,
  69.         db: [Object] },
  70.      discriminators: undefined,
  71.      schema:
  72.       Schema {
  73.         paths: [Object],
  74.         subpaths: {},
  75.         virtuals: [Object],
  76.         singleNestedPaths: {},
  77.         nested: [Object],
  78.         inherits: {},
  79.         callQueue: [Object],
  80.         _indexes: [],
  81.         methods: {},
  82.         statics: {},
  83.         tree: [Object],
  84.         _requiredpaths: [],
  85.         discriminatorMapping: undefined,
  86.         _indexedpaths: [],
  87.         s: [Object],
  88.         options: [Object] },
  89.      collection:
  90.       NativeCollection {
  91.         collection: null,
  92.         opts: [Object],
  93.         name: 'posts',
  94.         collectionName: 'posts',
  95.         conn: [Object],
  96.         queue: [],
  97.         buffer: true,
  98.         emitter: [Object] } },
  99.   schema:
  100.    Schema {
  101.      paths:
  102.       { title: [Object],
  103.         'author.name': [Object],
  104.         'author.email': [Object],
  105.         'author.userid': [Object],
  106.         content: [Object],
  107.         date: [Object],
  108.         published: [Object],
  109.         tags: [Object],
  110.         'meta.likes': [Object],
  111.         'meta.shares': [Object],
  112.         _id: [Object],
  113.         __v: [Object] },
  114.      subpaths: {},
  115.      virtuals: { id: [Object] },
  116.      singleNestedPaths: {},
  117.      nested: { author: true, meta: true },
  118.      inherits: {},
  119.      callQueue: [ [Object], [Object], [Object] ],
  120.      _indexes: [],
  121.      methods: {},
  122.      statics: {},
  123.      tree:
  124.       { title: [Function: String],
  125.         author: [Object],
  126.         content: [Function: String],
  127.         date: [Object],
  128.         published: [Function: Boolean],
  129.         tags: [Function: Array],
  130.         meta: [Object],
  131.         _id: [Object],
  132.         id: [Object],
  133.         __v: [Function: Number] },
  134.      _requiredpaths: [],
  135.      discriminatorMapping: undefined,
  136.      _indexedpaths: [],
  137.      s: { hooks: [Object], queryHooks: [Object] },
  138.      options:
  139.       { typeKey: 'type',
  140.         id: true,
  141.         noVirtualId: false,
  142.         _id: true,
  143.         noId: false,
  144.         validateBeforeSave: true,
  145.         read: null,
  146.         shardKey: null,
  147.         autoIndex: null,
  148.         minimize: true,
  149.         discriminatorKey: '__t',
  150.         versionKey: '__v',
  151.         capped: false,
  152.         bufferCommands: true,
  153.         strict: true,
  154.         pluralization: true } },
  155.   op: 'find',
  156.   options: {},
  157.   _conditions: { 'author.userid': { '$gt': 10 } },
  158.   _fields: undefined,
  159.   _update: undefined,
  160.   _path: undefined,
  161.   _distinct: undefined,
  162.   _collection:
  163.    NodeCollection {
  164.      collection:
  165.       NativeCollection {
  166.         collection: null,
  167.         opts: [Object],
  168.         name: 'posts',
  169.         collectionName: 'posts',
  170.         conn: [Object],
  171.         queue: [],
  172.         buffer: true,
  173.         emitter: [Object] },
  174.      collectionName: 'posts' },
  175.   _traceFunction: undefined,
  176.   _castError: null,
  177.   _count: [Function],
  178.   _execUpdate: [Function],
  179.   _find: [Function],
  180.   _findOne: [Function],
  181.   _findOneAndRemove: [Function],
  182.   _findOneAndUpdate: [Function] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement