Skip to content

Commit d14cb01

Browse files
authored
Sync mongo db with EN (#2174)
1 parent 32321d8 commit d14cb01

File tree

8 files changed

+130
-86
lines changed

8 files changed

+130
-86
lines changed

reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserver.xml

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 3f4735579d3c42b38955ec493ff7e6ba0f2bd750 Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="mongodb-driver-monitoring-commandfailedevent.getserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -11,7 +11,7 @@
1111
<warning>
1212
<para>
1313
Cette méthode a été <emphasis>DÉPRÉCIÉE</emphasis> à partir de la version
14-
1.20.0 de l'extension et sera supprimée dans la version 2.0. Les applications doivent utiliser
14+
1.20.0 de l'extension et a été supprimée dans la version 2.0. Les applications doivent utiliser
1515
<methodname>MongoDB\Driver\Monitoring\CommandFailedEvent::getHost</methodname>
1616
et
1717
<methodname>MongoDB\Driver\Monitoring\CommandFailedEvent::getPort</methodname>
@@ -51,6 +51,25 @@
5151
&mongodb.throws.argumentparsing;
5252
</simplelist>
5353
</refsect1>
54+
55+
<refsect1 role="changelog">
56+
&reftitle.changelog;
57+
<para>
58+
<informaltable>
59+
<tgroup cols="2">
60+
<thead>
61+
<row>
62+
<entry>&Version;</entry>
63+
<entry>&Description;</entry>
64+
</row>
65+
</thead>
66+
<tbody>
67+
&mongodb.changelog.method-removed;
68+
</tbody>
69+
</tgroup>
70+
</informaltable>
71+
</para>
72+
</refsect1>
5473

5574
<refsect1 role="seealso">
5675
&reftitle.seealso;

reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getserver.xml

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 3f4735579d3c42b38955ec493ff7e6ba0f2bd750 Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="mongodb-driver-monitoring-commandstartedevent.getserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -11,7 +11,7 @@
1111
<warning>
1212
<para>
1313
Cette méthode a été <emphasis>DÉPRÉCIÉE</emphasis> à partir de la version
14-
1.20.0 de l'extension et sera supprimée dans la version 2.0. Les applications doivent utiliser
14+
1.20.0 de l'extension et a été supprimée dans la version 2.0. Les applications doivent utiliser
1515
<methodname>MongoDB\Driver\Monitoring\CommandStartedEvent::getHost</methodname>
1616
et
1717
<methodname>MongoDB\Driver\Monitoring\CommandStartedEvent::getPort</methodname>
@@ -52,6 +52,25 @@
5252
</simplelist>
5353
</refsect1>
5454

55+
<refsect1 role="changelog">
56+
&reftitle.changelog;
57+
<para>
58+
<informaltable>
59+
<tgroup cols="2">
60+
<thead>
61+
<row>
62+
<entry>&Version;</entry>
63+
<entry>&Description;</entry>
64+
</row>
65+
</thead>
66+
<tbody>
67+
&mongodb.changelog.method-removed;
68+
</tbody>
69+
</tgroup>
70+
</informaltable>
71+
</para>
72+
</refsect1>
73+
5574
<refsect1 role="seealso">
5675
&reftitle.seealso;
5776
<simplelist>

reference/mongodb/mongodb/driver/monitoring/commandsubscriber.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<reference xml:id="class.mongodb-driver-monitoring-commandsubscriber" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
55
<title>L'interface MongoDB\Driver\Monitoring\CommandSubscriber</title>
@@ -56,6 +56,7 @@
5656
</row>
5757
</thead>
5858
<tbody>
59+
&mongodb.changelog.tentative-return-types-enforced;
5960
&mongodb.changelog.tentative-return-types;
6061
</tbody>
6162
</tgroup>

reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getserver.xml

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 3f4735579d3c42b38955ec493ff7e6ba0f2bd750 Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="mongodb-driver-monitoring-commandsucceededevent.getserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -11,7 +11,7 @@
1111
<warning>
1212
<para>
1313
Cette méthode a été <emphasis>DÉPRÉCIÉE</emphasis> à partir de la version
14-
1.20.0 de l'extension et sera supprimée dans la version 2.0. Les applications doivent utiliser
14+
1.20.0 de l'extension et a été supprimée dans la version 2.0. Les applications doivent utiliser
1515
<methodname>MongoDB\Driver\Monitoring\CommandSucceededEvent::getHost</methodname>
1616
et
1717
<methodname>MongoDB\Driver\Monitoring\CommandSucceededEvent::getPort</methodname>
@@ -51,6 +51,25 @@
5151
&mongodb.throws.argumentparsing;
5252
</simplelist>
5353
</refsect1>
54+
55+
<refsect1 role="changelog">
56+
&reftitle.changelog;
57+
<para>
58+
<informaltable>
59+
<tgroup cols="2">
60+
<thead>
61+
<row>
62+
<entry>&Version;</entry>
63+
<entry>&Description;</entry>
64+
</row>
65+
</thead>
66+
<tbody>
67+
&mongodb.changelog.method-removed;
68+
</tbody>
69+
</tgroup>
70+
</informaltable>
71+
</para>
72+
</refsect1>
5473

5574
<refsect1 role="seealso">
5675
&reftitle.seealso;

reference/mongodb/mongodb/driver/monitoring/sdamsubscriber.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<reference xml:id="class.mongodb-driver-monitoring-sdamsubscriber" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
55
<title>L'interface MongoDB\Driver\Monitoring\SDAMSubscriber</title>
@@ -58,6 +58,7 @@
5858
</row>
5959
</thead>
6060
<tbody>
61+
&mongodb.changelog.tentative-return-types-enforced;
6162
&mongodb.changelog.tentative-return-types;
6263
</tbody>
6364
</tgroup>

reference/mongodb/mongodb/driver/query/construct.xml

+34-73
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 9a03654d101176d0073a32683ef791bc20bc1425 Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="mongodb-driver-query.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -177,12 +177,6 @@
177177
par défaut à aucune limite. Une limite de 0 est équivalente à ne pas
178178
définir de limite.
179179
</para>
180-
<para>
181-
Une limite négative sera interprétée comme une limite positive avec
182-
l'option <literal>"singleBatch"</literal> définie sur &true;. Ce
183-
comportement est pris en charge pour la compatibilité ascendante, mais
184-
doit être considéré comme déprécié.
185-
</para>
186180
</entry>
187181
</row>
188182
<row>
@@ -211,25 +205,6 @@
211205
</para>
212206
</entry>
213207
</row>
214-
<row>
215-
<entry>maxScan</entry>
216-
<entry><type>int</type></entry>
217-
<entry>
218-
<warning>
219-
<simpara>
220-
Cette option est dépréciée et ne doit pas être utilisée.
221-
</simpara>
222-
</warning>
223-
<para>
224-
Entier positif indiquant le nombre maximum de documents ou de clés
225-
d'index à analyser lors de l'exécution de la requête.
226-
</para>
227-
<para>
228-
Retombe sur l'option dépréciée <literal>"$maxScan"</literal> si non
229-
spécifiée.
230-
</para>
231-
</entry>
232-
</row>
233208
<row>
234209
<entry>maxTimeMS</entry>
235210
<entry><type>int</type></entry>
@@ -253,20 +228,11 @@
253228
La limite inférieure <emphasis>inclusive</emphasis> pour un index spécifique.
254229
</para>
255230
<para>
256-
Retopmbe sur l'option dépréciée <literal>"$min"</literal> si non
231+
Retombe sur l'option dépréciée <literal>"$min"</literal> si non
257232
spécifiée.
258233
</para>
259234
</entry>
260235
</row>
261-
<row>
262-
<entry>modifiers</entry>
263-
<entry><type>array</type></entry>
264-
<entry>
265-
<link xlink:href="&url.mongodb.docs;reference/operator/query-modifier/">Opérateurs méta</link>
266-
modifiant la sortie ou le comportement d'une requête. L'utilisation de
267-
ces opérateurs est dépréciée en faveur des options nommées.
268-
</entry>
269-
</row>
270236
<row>
271237
<entry>noCursorTimeout</entry>
272238
<entry><type>bool</type></entry>
@@ -275,24 +241,6 @@
275241
d'inactivité (10 minutes).
276242
</entry>
277243
</row>
278-
<row>
279-
<entry>oplogReplay</entry>
280-
<entry><type>bool</type></entry>
281-
<entry>
282-
<para>
283-
Utilisation interne pour les ensembles de réplicas. Pour utiliser
284-
oplogReplay, vous devez inclure la condition suivante dans le filtre :
285-
</para>
286-
<para>
287-
<programlisting role="text">
288-
<![CDATA[
289-
[ 'ts' => [ '$gte' => <timestamp> ] ]
290-
]]>
291-
</programlisting>
292-
</para>
293-
<note><simpara>Cette option est dépréciée à partir de la version 1.8.0.</simpara></note>
294-
</entry>
295-
</row>
296244
<row>
297245
<entry>projection</entry>
298246
<entry><type class="union"><type>array</type><type>object</type></type></entry>
@@ -372,25 +320,6 @@
372320
<entry><type>int</type></entry>
373321
<entry>Nombre de documents à sauter. Par défaut à 0.</entry>
374322
</row>
375-
<row>
376-
<entry>snapshot</entry>
377-
<entry><type>bool</type></entry>
378-
<entry>
379-
<warning>
380-
<simpara>
381-
Cette option est dépréciée et ne doit pas être utilisée.
382-
</simpara>
383-
</warning>
384-
<para>
385-
Empêche le curseur de retourner un document plus d'une fois en raison
386-
d'une opération d'écriture intermédiaire.
387-
</para>
388-
<para>
389-
Retombe sur l'option dépréciée <literal>"$snapshot"</literal> si non
390-
spécifiée.
391-
</para>
392-
</entry>
393-
</row>
394323
<row>
395324
<entry>sort</entry>
396325
<entry><type class="union"><type>array</type><type>object</type></type></entry>
@@ -435,6 +364,38 @@
435364
</row>
436365
</thead>
437366
<tbody>
367+
<row>
368+
<entry>PECL mongodb 2.0.0</entry>
369+
<entry>
370+
<para>
371+
L'option <literal>"partial"</literal> a été supprimée. Utilisez
372+
<literal>"allowPartialResults"</literal> à la place.
373+
</para>
374+
<para>
375+
L'option <literal>"maxScan"</literal> a été supprimée. Le Support
376+
pour cette option a été supprimé dans MongoDB 4.2.
377+
</para>
378+
<para>
379+
L'option <literal>"modifiers"</literal> a été supprimée. Cette options était
380+
utilisée pour les modificateurs d'ancienne requête, qui sont tous dépréciés.
381+
</para>
382+
<para>
383+
L'option <literal>"oplogReplay"</literal> a été supprimée. Cela est ignoré
384+
dans MongoDB 4.4 et plus récent.
385+
</para>
386+
<para>
387+
L'option <literal>"snapshot"</literal> a été supprimée. Son support a été
388+
supprimé dans MongoDB 4.0.
389+
</para>
390+
<para>
391+
Une valuer négative pour l'option <literal>"limit"</literal> n'implique plus
392+
&true; pour l'option <literal>"singleBatch"</literal>. Pour ne recevoir
393+
qu'un seul lot de résultats, combinez une valeur positive
394+
<literal>"limit"</literal> avec l'option
395+
<literal>"singleBatch"</literal>.
396+
</para>
397+
</entry>
398+
</row>
438399
<row>
439400
<entry>PECL mongodb 1.14.0</entry>
440401
<entry>

reference/mongodb/mongodb/driver/readpreference/construct.xml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- $Revision$ -->
3-
<!-- EN-Revision: c64016065c9b97fa1cbbef48a9ed105232b423a8 Maintainer: yannick Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: yannick Status: ready -->
43
<!-- Reviewed: no -->
54

65
<refentry xml:id="mongodb-driver-readpreference.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,7 +12,7 @@
1312
&reftitle.description;
1413
<methodsynopsis>
1514
<modifier>final</modifier> <modifier>public</modifier> <methodname>MongoDB\Driver\ReadPreference::__construct</methodname>
16-
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>mode</parameter></methodparam>
15+
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
1716
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>tagSets</parameter><initializer>&null;</initializer></methodparam>
1817
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
1918
</methodsynopsis>
@@ -216,6 +215,13 @@
216215
</row>
217216
</thead>
218217
<tbody>
218+
<row>
219+
<entry>PECL mongodb 2.0.0</entry>
220+
<entry>
221+
Passer un <type>int</type> pour l'argument <parameter>mode</parameter>
222+
n'est plus pris en charge.
223+
</entry>
224+
</row>
219225
<row>
220226
<entry>PECL mongodb 1.20.0</entry>
221227
<entry>

reference/mongodb/mongodb/driver/readpreference/getmode.xml

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: c64016065c9b97fa1cbbef48a9ed105232b423a8 Maintainer: Fan2Shrek Status: ready -->
2+
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="mongodb-driver-readpreference.getmode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -11,7 +11,7 @@
1111
<warning>
1212
<para>
1313
Cette fonction a été <emphasis>DÉPRÉCIÉE</emphasis> depuis la version 1.20.0 de l'extension
14-
et sera supprimée dans la version 2.0. Les applications devraient utiliser
14+
et a été supprimée dans la version 2.0. Les applications devraient utiliser
1515
<methodname>MongoDB\Driver\ReadPreference::getModeString</methodname> à la place.
1616
</para>
1717
</warning>
@@ -44,6 +44,24 @@
4444
</simplelist>
4545
</refsect1>
4646

47+
<refsect1 role="changelog">
48+
&reftitle.changelog;
49+
<para>
50+
<informaltable>
51+
<tgroup cols="2">
52+
<thead>
53+
<row>
54+
<entry>&Version;</entry>
55+
<entry>&Description;</entry>
56+
</row>
57+
</thead>
58+
<tbody>
59+
&mongodb.changelog.method-removed;
60+
</tbody>
61+
</tgroup>
62+
</informaltable>
63+
</para>
64+
</refsect1>
4765

4866
<refsect1 role="examples">
4967
&reftitle.examples;

0 commit comments

Comments
 (0)