src/mongo/client/dbclientcursor.cpp
/** with QueryOption_Exhaust, the server just blasts data at us (marked at end with cursorid==0). */
with QueryOption_Exhaust, the server just blasts data at us (marked at end with cursorid==0).
with QueryOption_Exhaust the server just blasts data at us ( marked at end with cursorid == 0 ) .
void DBClientCursor::exhaustReceiveMore() {
    verify(cursorId && batch.pos == batch.objs.size());
    verify(!haveLimit);
    Message response;
    verify(_client);
    if (!_client->recv(response)) {
        uasserted(16465, "recv failed while exhausting cursor");
    }
    dataReceived(response);
}
void DBClientCursor :: exhaustReceiveMore ( ) { verify ( cursorId && batch . pos == batch . objs . size ( ) ) ; verify ( ! haveLimit ) ; Message response ; verify ( _client ) ; if ( ! _client -> recv ( response ) ) { uasserted ( 16465 , " " ) ; } dataReceived ( response ) ; }
with QueryOption_Exhaust, the server just blasts data at us (marked at end with cursorid==0).
with QueryOption_Exhaust the server just blasts data at us ( marked at end with cursorid == 0 ) .