MongoDBCDriver
0.7.1
|
Public Attributes | |
mongo_host_port * | primary |
Primary connection info. | |
mongo_replica_set * | replica_set |
replica_set object if connected to a replica set. | |
int | sock |
Socket file descriptor. | |
int | flags |
Flags on this connection object. | |
int | conn_timeout_ms |
Connection timeout in milliseconds. | |
int | op_timeout_ms |
Read and write timeout in milliseconds. | |
int | max_bson_size |
Largest BSON object allowed on this connection. | |
bson_bool_t | connected |
Connection status. | |
mongo_write_concern * | write_concern |
The default write concern. | |
mongo_error_t | err |
Most recent driver error code. | |
int | errcode |
Most recent errno or WSAGetLastError(). | |
char | errstr [MONGO_ERR_LEN] |
String version of error. | |
int | lasterrcode |
getlasterror code from the server. | |
char | lasterrstr [MONGO_ERR_LEN] |
getlasterror string from the server. |
Connection timeout in milliseconds.
bson_bool_t mongo::connected |
Connection status.
Most recent driver error code.
int mongo::errcode |
Most recent errno or WSAGetLastError().
char mongo::errstr[MONGO_ERR_LEN] |
String version of error.
int mongo::flags |
Flags on this connection object.
getlasterror code from the server.
char mongo::lasterrstr[MONGO_ERR_LEN] |
getlasterror string from the server.
Largest BSON object allowed on this connection.
Read and write timeout in milliseconds.
Primary connection info.
replica_set object if connected to a replica set.
int mongo::sock |
Socket file descriptor.
The default write concern.