libmongo-client 0.1.4
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.
gchar * ns
 The namespace of the cursor.
mongo_packet * results
 The current result set, as a mongo packet.
gint32 offset
 Offset of the cursor within the active result set.
mongo_reply_packet_header ph
 The reply headers extracted from the active result set.

Detailed Description

Opaque Mongo Cursor object.

MongoDB cursor object.

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

Definition at line 72 of file libmongo-private.h.


Field Documentation

mongo_sync_connection* mongo_sync_cursor::conn

The connection associated with the cursor.

Owned by the caller.

Definition at line 74 of file libmongo-private.h.

gchar* mongo_sync_cursor::ns

The namespace of the cursor.

Definition at line 76 of file libmongo-private.h.

gint32 mongo_sync_cursor::offset

Offset of the cursor within the active result set.

Definition at line 80 of file libmongo-private.h.

mongo_reply_packet_header mongo_sync_cursor::ph

The reply headers extracted from the active result set.

Definition at line 82 of file libmongo-private.h.

mongo_packet* mongo_sync_cursor::results

The current result set, as a mongo packet.

Definition at line 77 of file libmongo-private.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Enumerations Enumerator Defines