mongo_sync_connection Struct Reference

Opaque synchronous connection object. More...

#include <libmongo-private.h>

Data Fields

mongo_connection super
 The parent object.
gboolean slaveok
 Whether queries against slave nodes are acceptable.
gboolean safe_mode
 Safe-mode signal flag.
gboolean auto_reconnect
 Auto-reconnect flag.
struct {
   GList *   seeds
 Replica set seeds, as a list of strings.
   GList *   hosts
 Replica set members, as a list of strings.
   gchar *   primary
 The replica master, if any.
rs
 Replica Set properties.
gchar * last_error
 The last error from the server, caught during queries.
gint32 max_insert_size
 Maximum number of bytes an insert command can be before being split to smaller chunks.

Detailed Description

Opaque synchronous connection object.

For internal use only.

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.

 All Data Structures Variables

Generated on 20 Jan 2014 for libmongo-client by  doxygen 1.6.1