1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
style="function"
xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/"
id="mongoc_client_get_write_concern">
<info>
<link type="guide" xref="mongoc_client_t" group="function"/>
</info>
<title>mongoc_client_get_write_concern()</title>
<section id="synopsis">
<title>Synopsis</title>
<synopsis><code mime="text/x-csrc"><![CDATA[const mongoc_write_concern_t *
mongoc_client_get_write_concern (const mongoc_client_t *client);]]></code></synopsis>
<p>Retrieve the default write concern configured for the client instance. The result should not be modified or freed.</p>
</section>
<section id="parameters">
<title>Parameters</title>
<table>
<tr><td><p>client</p></td><td><p>A <code xref="mongoc_client_t">mongoc_client_t</code>.</p></td></tr>
</table>
</section>
<section id="return">
<title>Returns</title>
<p>A <code xref="mongoc_write_concern_t">mongoc_write_concern_t</code>.</p>
</section>
</page>
|