$returnKey operator not implemented for getmore

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > c.save( {a:1} )
      > c.save( {a:2} )
      > c.save( {a:3} )
      > c.ensureIndex( {a:1} )
      > c.find().hint( {a:1} ).batchSize( 2 )._addSpecial( "$returnKey", true )
      { "a" : 1 }
      { "a" : 2 }
      { "_id" : ObjectId("4f40a6bb916db8388b2ba240"), "a" : 3 }
      > 
      

              Assignee:
              David Storch
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: