From 79b61596ddfc444a6f42103286dca1430a980b50 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 31 Jul 2020 03:36:32 +0000 Subject: [PATCH] BulkWrite::delete() hint option https://jira.mongodb.org/browse/PHPC-1561 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350257 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mongodb/driver/bulkwrite/delete.xml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/reference/mongodb/mongodb/driver/bulkwrite/delete.xml b/reference/mongodb/mongodb/driver/bulkwrite/delete.xml index edb97449df..2b6b4a2b66 100644 --- a/reference/mongodb/mongodb/driver/bulkwrite/delete.xml +++ b/reference/mongodb/mongodb/driver/bulkwrite/delete.xml @@ -42,6 +42,22 @@ &mongodb.option.collation; + + hint + string|array|object + + + Index specification. Specify either the index name as a string or + the index key pattern. If specified, then the query system will only + consider plans using the hinted index. + + + This option is available in MongoDB 4.4+ and will result in an + exception at execution time if specified for an older server + version. + + + limit boolean @@ -83,6 +99,12 @@ + + 1.8.0 + + Added the "hint" option. + + 1.2.0