We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec03f5 commit 4dcc78cCopy full SHA for 4dcc78c
doc/advanced-connections.page
@@ -52,7 +52,12 @@ main (int argc,
52
53
mongoc_init ();
54
55
+ /* Create our MongoDB Client */
56
client = mongoc_client_new ("mongodb://myreplset01:27017/?replicaSet=myreplset");
57
+
58
+ /* do something with client ... */
59
60
+ /* Free our client */
61
mongoc_client_destroy (client);
62
63
mongoc_cleanup ();
@@ -100,7 +105,12 @@ main (int argc,
100
105
101
106
102
107
108
103
109
client = mongoc_client_new ("mongodb://myshard01:27017/");
110
111
+ /* Do something with client ... */
112
113
+ /* Free the client */
104
114
115
116
0 commit comments