Skip to content

Commit e9ec4e4

Browse files
committed
Update ext-mongodb docs for queryable encryption range V2
php/doc-en@850a936
1 parent f8bcfe2 commit e9ec4e4

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

language-snippets.ent

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: e9214a2619efc5906fab59cd42fb7404c4dc49a5 Maintainer: takagi Status: working -->
3+
<!-- EN-Revision: 850a9367b8ff7fe0ba91042daf9d61d58c985b1e Maintainer: takagi Status: working -->
44
<!-- Credits: hirokawa,haruki,shimooka,mumumu -->
55

66
<!ENTITY installation.enabled.disable 'この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。'>
@@ -3348,7 +3348,7 @@ local: {
33483348
<member><constant>MongoDB\Driver\ClientEncryption::AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM</constant></member>
33493349
<member><constant>MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED</constant></member>
33503350
<member><constant>MongoDB\Driver\ClientEncryption::ALGORITHM_UNINDEXED</constant></member>
3351-
<member><constant>MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW</constant></member>
3351+
<member><constant>MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE</constant></member>
33523352
</simplelist>
33533353
</entry>
33543354
</row>
@@ -3365,7 +3365,7 @@ local: {
33653365
<literal>algorithm</literal> is
33663366
<constant>MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED</constant>
33673367
or
3368-
<constant>MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW</constant>.
3368+
<constant>MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE</constant>.
33693369
</para>
33703370
</entry>
33713371
</row>
@@ -3407,7 +3407,7 @@ local: {
34073407
<para>This option only applies and may only be specified when
34083408
<literal>algorithm</literal> is
34093409
<constant>MongoDB\Driver\ClientEncryption::ALGORITHM_INDEXED</constant>
3410-
or <constant>MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE_PREVIEW</constant>.
3410+
or <constant>MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE</constant>.
34113411
</para>
34123412
</entry>
34133413
</row>
@@ -3416,10 +3416,10 @@ local: {
34163416
<entry><type>array</type></entry>
34173417
<entry>
34183418
<para>
3419-
Index options for a queryable encryption field supporting
3420-
"rangePreview" queries. The options below must match the values set
3421-
in the <literal>encryptedFields</literal> of the target collection.
3422-
For double and decimal128 BSON field types, <literal>min</literal>,
3419+
Index options for a queryable encryption field supporting "range"
3420+
queries. The options below must match the values set in the
3421+
<literal>encryptedFields</literal> of the target collection. For
3422+
double and decimal128 BSON field types, <literal>min</literal>,
34233423
<literal>max</literal>, and <literal>precision</literal> must all be
34243424
set, or all be unset.
34253425
</para>
@@ -3438,22 +3438,37 @@ local: {
34383438
<row>
34393439
<entry>min</entry>
34403440
<entry><type>mixed</type></entry>
3441-
<entry>Required if <literal>precision</literal> is set.</entry>
3441+
<entry>
3442+
Required if <literal>precision</literal> is set. The minimum
3443+
BSON value of the range.
3444+
</entry>
34423445
</row>
34433446
<row>
34443447
<entry>max</entry>
34453448
<entry><type>mixed</type></entry>
3446-
<entry>Required if <literal>precision</literal> is set.</entry>
3449+
<entry>
3450+
Required if <literal>precision</literal> is set. The maximum
3451+
BSON value of the range.
3452+
</entry>
34473453
</row>
34483454
<row>
34493455
<entry>sparsity</entry>
34503456
<entry><type>int</type></entry>
3451-
<entry>Required.</entry>
3457+
<entry>Required. Positive 64-bit integer.</entry>
34523458
</row>
34533459
<row>
34543460
<entry>precision</entry>
34553461
<entry><type>int</type></entry>
3456-
<entry>Optional. May only be set for double or decimal128 BSON field types.</entry>
3462+
<entry>
3463+
Optional. Positive 32-bit integer specifying precision to use
3464+
for explicit encryption. May only be set for double or
3465+
decimal128 BSON field types.
3466+
</entry>
3467+
</row>
3468+
<row>
3469+
<entry>trimFactor</entry>
3470+
<entry><type>int</type></entry>
3471+
<entry>Required. Positive 32-bit integer.</entry>
34573472
</row>
34583473
</tbody>
34593474
</tgroup>

0 commit comments

Comments
 (0)