rpm  5.4.15
Data Fields
mongo_cursor Struct Reference

#include <rpmio/mongo.h>

Collaboration diagram for mongo_cursor:
Collaboration graph
[legend]

Data Fields

mongo_replyreply
 reply is owned by cursor More...
 
mongoconn
 connection is not owned by cursor More...
 
const char * ns
 owned by cursor More...
 
int flags
 Flags used internally by this drivers. More...
 
int seen
 Number returned so far. More...
 
bson current
 This cursor's current bson object. More...
 
mongo_cursor_error_t err
 Errors on this cursor. More...
 
const bsonquery
 Bitfield containing cursor options. More...
 
const bsonfields
 Bitfield containing cursor options. More...
 
int options
 Bitfield containing cursor options. More...
 
int limit
 Bitfield containing cursor options. More...
 
int skip
 Bitfield containing cursor options. More...
 

Detailed Description

Definition at line 206 of file mongo.h.

Field Documentation

mongo* mongo_cursor::conn

connection is not owned by cursor

Definition at line 208 of file mongo.h.

Referenced by mongo_cursor_bson_valid(), mongo_cursor_destroy(), mongo_cursor_get_more(), mongo_cursor_init(), and mongo_cursor_op_query().

bson mongo_cursor::current
mongo_cursor_error_t mongo_cursor::err

Errors on this cursor.

Definition at line 213 of file mongo.h.

Referenced by mongo_cursor_bson_valid(), mongo_cursor_get_more(), mongo_cursor_next(), and mongo_cursor_op_query().

const bson* mongo_cursor::fields

Bitfield containing cursor options.

Definition at line 215 of file mongo.h.

Referenced by mongo_cursor_op_query(), and mongo_cursor_set_fields().

int mongo_cursor::flags

Flags used internally by this drivers.

Definition at line 210 of file mongo.h.

Referenced by mongo_cursor_destroy(), mongo_cursor_next(), mongo_cursor_op_query(), and mongo_find().

int mongo_cursor::limit

Bitfield containing cursor options.

Definition at line 217 of file mongo.h.

Referenced by mongo_cursor_get_more(), mongo_cursor_op_query(), and mongo_cursor_set_limit().

const char* mongo_cursor::ns

owned by cursor

Definition at line 209 of file mongo.h.

Referenced by mongo_cursor_destroy(), mongo_cursor_get_more(), mongo_cursor_init(), and mongo_cursor_op_query().

int mongo_cursor::options

Bitfield containing cursor options.

Definition at line 216 of file mongo.h.

Referenced by mongo_cursor_op_query(), and mongo_cursor_set_options().

const bson* mongo_cursor::query

Bitfield containing cursor options.

Definition at line 214 of file mongo.h.

Referenced by mongo_cursor_op_query(), and mongo_cursor_set_query().

mongo_reply* mongo_cursor::reply

reply is owned by cursor

Definition at line 207 of file mongo.h.

Referenced by mongo_cursor_destroy(), mongo_cursor_get_more(), mongo_cursor_next(), and mongo_cursor_op_query().

int mongo_cursor::seen

Number returned so far.

Definition at line 211 of file mongo.h.

Referenced by mongo_cursor_get_more(), and mongo_cursor_op_query().

int mongo_cursor::skip

Bitfield containing cursor options.

Definition at line 218 of file mongo.h.

Referenced by mongo_cursor_op_query(), and mongo_cursor_set_skip().


The documentation for this struct was generated from the following file: