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

Opaque synchronous connection object. More...

#include <libmongo-private.h>

Data Fields

mongo_connection super
 The parent object. More...
 
gboolean slaveok
 
           Whether queries against slave nodes are

acceptable. More...

 
gboolean safe_mode
 Safe-mode signal flag. More...
 
gboolean auto_reconnect
 Auto-reconnect flag. More...
 
struct {
   GList *   seeds
 Replica set seeds, as a list of strings. More...
 
   GList *   hosts
 Replica set members, as a list of strings. More...
 
   gchar *   primary
 The replica master, if any. More...
 
rs
 Replica Set properties. More...
 
gchar * last_error
 
              The last error from the server, caught

during queries. More...

 
gint32 max_insert_size
 
               Maximum number of bytes an insert

command can be before being split to smaller chunks. More...

 

Detailed Description

Opaque synchronous connection object.

Synchronous connection object.

Field Documentation

gboolean mongo_sync_connection::auto_reconnect

Auto-reconnect flag.

GList* mongo_sync_connection::hosts

Replica set members, as a list of strings.

gchar* mongo_sync_connection::last_error

              The last error from the server, caught

during queries.

gint32 mongo_sync_connection::max_insert_size

               Maximum number of bytes an insert

command can be before being split to smaller chunks.

Used for bulk inserts.

gchar* mongo_sync_connection::primary

The replica master, if any.

struct { ... } mongo_sync_connection::rs

Replica Set properties.

gboolean mongo_sync_connection::safe_mode

Safe-mode signal flag.

GList* mongo_sync_connection::seeds

Replica set seeds, as a list of strings.

gboolean mongo_sync_connection::slaveok

           Whether queries against slave nodes are

acceptable.

mongo_connection mongo_sync_connection::super

The parent object.