Skip to content

Sync mongo db with EN #2174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 3f4735579d3c42b38955ec493ff7e6ba0f2bd750 Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="mongodb-driver-monitoring-commandfailedevent.getserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -11,7 +11,7 @@
<warning>
<para>
Cette méthode a été <emphasis>DÉPRÉCIÉE</emphasis> à partir de la version
1.20.0 de l'extension et sera supprimée dans la version 2.0. Les applications doivent utiliser
1.20.0 de l'extension et a été supprimée dans la version 2.0. Les applications doivent utiliser
<methodname>MongoDB\Driver\Monitoring\CommandFailedEvent::getHost</methodname>
et
<methodname>MongoDB\Driver\Monitoring\CommandFailedEvent::getPort</methodname>
Expand Down Expand Up @@ -51,6 +51,25 @@
&mongodb.throws.argumentparsing;
</simplelist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&mongodb.changelog.method-removed;
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 3f4735579d3c42b38955ec493ff7e6ba0f2bd750 Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="mongodb-driver-monitoring-commandstartedevent.getserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -11,7 +11,7 @@
<warning>
<para>
Cette méthode a été <emphasis>DÉPRÉCIÉE</emphasis> à partir de la version
1.20.0 de l'extension et sera supprimée dans la version 2.0. Les applications doivent utiliser
1.20.0 de l'extension et a été supprimée dans la version 2.0. Les applications doivent utiliser
<methodname>MongoDB\Driver\Monitoring\CommandStartedEvent::getHost</methodname>
et
<methodname>MongoDB\Driver\Monitoring\CommandStartedEvent::getPort</methodname>
Expand Down Expand Up @@ -52,6 +52,25 @@
</simplelist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&mongodb.changelog.method-removed;
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<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">
<title>L'interface MongoDB\Driver\Monitoring\CommandSubscriber</title>
Expand Down Expand Up @@ -56,6 +56,7 @@
</row>
</thead>
<tbody>
&mongodb.changelog.tentative-return-types-enforced;
&mongodb.changelog.tentative-return-types;
</tbody>
</tgroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 3f4735579d3c42b38955ec493ff7e6ba0f2bd750 Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="mongodb-driver-monitoring-commandsucceededevent.getserver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -11,7 +11,7 @@
<warning>
<para>
Cette méthode a été <emphasis>DÉPRÉCIÉE</emphasis> à partir de la version
1.20.0 de l'extension et sera supprimée dans la version 2.0. Les applications doivent utiliser
1.20.0 de l'extension et a été supprimée dans la version 2.0. Les applications doivent utiliser
<methodname>MongoDB\Driver\Monitoring\CommandSucceededEvent::getHost</methodname>
et
<methodname>MongoDB\Driver\Monitoring\CommandSucceededEvent::getPort</methodname>
Expand Down Expand Up @@ -51,6 +51,25 @@
&mongodb.throws.argumentparsing;
</simplelist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&mongodb.changelog.method-removed;
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<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">
<title>L'interface MongoDB\Driver\Monitoring\SDAMSubscriber</title>
Expand Down Expand Up @@ -58,6 +58,7 @@
</row>
</thead>
<tbody>
&mongodb.changelog.tentative-return-types-enforced;
&mongodb.changelog.tentative-return-types;
</tbody>
</tgroup>
Expand Down
107 changes: 34 additions & 73 deletions reference/mongodb/mongodb/driver/query/construct.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9a03654d101176d0073a32683ef791bc20bc1425 Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="mongodb-driver-query.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand Down Expand Up @@ -177,12 +177,6 @@
par défaut à aucune limite. Une limite de 0 est équivalente à ne pas
définir de limite.
</para>
<para>
Une limite négative sera interprétée comme une limite positive avec
l'option <literal>"singleBatch"</literal> définie sur &true;. Ce
comportement est pris en charge pour la compatibilité ascendante, mais
doit être considéré comme déprécié.
</para>
</entry>
</row>
<row>
Expand Down Expand Up @@ -211,25 +205,6 @@
</para>
</entry>
</row>
<row>
<entry>maxScan</entry>
<entry><type>int</type></entry>
<entry>
<warning>
<simpara>
Cette option est dépréciée et ne doit pas être utilisée.
</simpara>
</warning>
<para>
Entier positif indiquant le nombre maximum de documents ou de clés
d'index à analyser lors de l'exécution de la requête.
</para>
<para>
Retombe sur l'option dépréciée <literal>"$maxScan"</literal> si non
spécifiée.
</para>
</entry>
</row>
<row>
<entry>maxTimeMS</entry>
<entry><type>int</type></entry>
Expand All @@ -253,20 +228,11 @@
La limite inférieure <emphasis>inclusive</emphasis> pour un index spécifique.
</para>
<para>
Retopmbe sur l'option dépréciée <literal>"$min"</literal> si non
Retombe sur l'option dépréciée <literal>"$min"</literal> si non
spécifiée.
</para>
</entry>
</row>
<row>
<entry>modifiers</entry>
<entry><type>array</type></entry>
<entry>
<link xlink:href="&url.mongodb.docs;reference/operator/query-modifier/">Opérateurs méta</link>
modifiant la sortie ou le comportement d'une requête. L'utilisation de
ces opérateurs est dépréciée en faveur des options nommées.
</entry>
</row>
<row>
<entry>noCursorTimeout</entry>
<entry><type>bool</type></entry>
Expand All @@ -275,24 +241,6 @@
d'inactivité (10 minutes).
</entry>
</row>
<row>
<entry>oplogReplay</entry>
<entry><type>bool</type></entry>
<entry>
<para>
Utilisation interne pour les ensembles de réplicas. Pour utiliser
oplogReplay, vous devez inclure la condition suivante dans le filtre :
</para>
<para>
<programlisting role="text">
<![CDATA[
[ 'ts' => [ '$gte' => <timestamp> ] ]
]]>
</programlisting>
</para>
<note><simpara>Cette option est dépréciée à partir de la version 1.8.0.</simpara></note>
</entry>
</row>
<row>
<entry>projection</entry>
<entry><type class="union"><type>array</type><type>object</type></type></entry>
Expand Down Expand Up @@ -372,25 +320,6 @@
<entry><type>int</type></entry>
<entry>Nombre de documents à sauter. Par défaut à 0.</entry>
</row>
<row>
<entry>snapshot</entry>
<entry><type>bool</type></entry>
<entry>
<warning>
<simpara>
Cette option est dépréciée et ne doit pas être utilisée.
</simpara>
</warning>
<para>
Empêche le curseur de retourner un document plus d'une fois en raison
d'une opération d'écriture intermédiaire.
</para>
<para>
Retombe sur l'option dépréciée <literal>"$snapshot"</literal> si non
spécifiée.
</para>
</entry>
</row>
<row>
<entry>sort</entry>
<entry><type class="union"><type>array</type><type>object</type></type></entry>
Expand Down Expand Up @@ -435,6 +364,38 @@
</row>
</thead>
<tbody>
<row>
<entry>PECL mongodb 2.0.0</entry>
<entry>
<para>
L'option <literal>"partial"</literal> a été supprimée. Utilisez
<literal>"allowPartialResults"</literal> à la place.
</para>
<para>
L'option <literal>"maxScan"</literal> a été supprimée. Le Support
pour cette option a été supprimé dans MongoDB 4.2.
</para>
<para>
L'option <literal>"modifiers"</literal> a été supprimée. Cette options était
utilisée pour les modificateurs d'ancienne requête, qui sont tous dépréciés.
</para>
<para>
L'option <literal>"oplogReplay"</literal> a été supprimée. Cela est ignoré
dans MongoDB 4.4 et plus récent.
</para>
<para>
L'option <literal>"snapshot"</literal> a été supprimée. Son support a été
supprimé dans MongoDB 4.0.
</para>
<para>
Une valuer négative pour l'option <literal>"limit"</literal> n'implique plus
&true; pour l'option <literal>"singleBatch"</literal>. Pour ne recevoir
qu'un seul lot de résultats, combinez une valeur positive
<literal>"limit"</literal> avec l'option
<literal>"singleBatch"</literal>.
</para>
</entry>
</row>
<row>
<entry>PECL mongodb 1.14.0</entry>
<entry>
Expand Down
12 changes: 9 additions & 3 deletions reference/mongodb/mongodb/driver/readpreference/construct.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: c64016065c9b97fa1cbbef48a9ed105232b423a8 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->

<refentry xml:id="mongodb-driver-readpreference.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand All @@ -13,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <methodname>MongoDB\Driver\ReadPreference::__construct</methodname>
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>mode</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>tagSets</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -216,6 +215,13 @@
</row>
</thead>
<tbody>
<row>
<entry>PECL mongodb 2.0.0</entry>
<entry>
Passer un <type>int</type> pour l'argument <parameter>mode</parameter>
n'est plus pris en charge.
</entry>
</row>
<row>
<entry>PECL mongodb 1.20.0</entry>
<entry>
Expand Down
22 changes: 20 additions & 2 deletions reference/mongodb/mongodb/driver/readpreference/getmode.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c64016065c9b97fa1cbbef48a9ed105232b423a8 Maintainer: Fan2Shrek Status: ready -->
<!-- EN-Revision: 4639881688d3faaf0073ad71fe0a4b730aea15a0 Maintainer: Fan2Shrek Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="mongodb-driver-readpreference.getmode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -11,7 +11,7 @@
<warning>
<para>
Cette fonction a été <emphasis>DÉPRÉCIÉE</emphasis> depuis la version 1.20.0 de l'extension
et sera supprimée dans la version 2.0. Les applications devraient utiliser
et a été supprimée dans la version 2.0. Les applications devraient utiliser
<methodname>MongoDB\Driver\ReadPreference::getModeString</methodname> à la place.
</para>
</warning>
Expand Down Expand Up @@ -44,6 +44,24 @@
</simplelist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&mongodb.changelog.method-removed;
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
Expand Down