You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drivers MUST document how users can specify options on their explain helpers.
2220
+
2201
2221
## Test Plan
2202
2222
2203
2223
See the [README](tests/README.md) for tests.
@@ -2305,8 +2325,11 @@ unfortunate, we felt it better to have the bulk api be consistent with the rest
2305
2325
operations. However, the fluent-bulk-api is still able to be used as this change is non-backwards breaking. Any driver
2306
2326
which implemented the fluent bulk API should deprecate it and drivers that have not built it should not do so.
2307
2327
2308
-
Q: What about explain?\
2309
-
Explain has been determined to be not a normal use-case for a driver. We'd like users to use the
2328
+
Q: Should drivers offer explain helpers?\
2329
+
Originally, it was determined that explain should not be exposed via specialized APIs in drivers (runCommand was always an option after server 3.0.). However, some drivers historically have offered explain APIs and continue to do
2330
+
so.
2331
+
2332
+
Explain helpers are not required because it has been determined to be not a normal use-case for a driver. We'd like users to use the
2310
2333
shell for this purpose. However, explain is still possible from a driver. For find, it can be passed as a modifier.
2311
2334
Aggregate can be run using a runCommand method passing the explain option. In addition, server 3.0 offers an explain
2312
2335
command that can be run using a runCommand method.
@@ -2369,6 +2392,8 @@ aforementioned allowance in the SemVer spec.
2369
2392
2370
2393
## Changelog
2371
2394
2395
+
- 2024-08-23: Specify that explain helpers support maxTimeMS.
2396
+
2372
2397
- 2024-02-20: Migrated from reStructuredText to Markdown.
2373
2398
2374
2399
- 2022-10-05: Remove spec front matter and reformat changelog.
0 commit comments