libmongo-client  0.1.6.1
 All Data Structures Functions Variables Enumerations Enumerator Groups Pages
Data Fields
mongo_sync_cursor Struct Reference

Opaque Mongo Cursor object. More...

#include <libmongo-private.h>

Collaboration diagram for mongo_sync_cursor:
Collaboration graph
[legend]

Data Fields

mongo_sync_connection * conn
 
                  The connection associated with

the cursor. More...

 
gchar * ns
 The namespace of the cursor. More...
 
mongo_packet * results
 
              The current result set, as a mongo

packet. More...

 
gint32 offset
 
           Offset of the cursor within the active result

set. More...

 
mongo_reply_packet_header ph
 
                   The reply headers extracted from

the active result set. More...

 

Detailed Description

Opaque Mongo Cursor object.

MongoDB cursor object.

The cursor object can be used to conveniently iterate over a query result set.

Field Documentation

mongo_sync_connection* mongo_sync_cursor::conn

                  The connection associated with

the cursor.

Owned by the caller.

gchar* mongo_sync_cursor::ns

The namespace of the cursor.

gint32 mongo_sync_cursor::offset

           Offset of the cursor within the active result

set.

mongo_reply_packet_header mongo_sync_cursor::ph

                   The reply headers extracted from

the active result set.

mongo_packet* mongo_sync_cursor::results

              The current result set, as a mongo

packet.