Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5014

$returnKey operator not implemented for getmore

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

      > 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@mongodb.com David Storch
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: