1
- =============
2
- Versioned API
3
- =============
1
+ ==========
2
+ Stable API
3
+ ==========
4
4
5
5
.. default-domain:: mongodb
6
6
@@ -10,7 +10,7 @@ Versioned API
10
10
:depth: 1
11
11
:class: singlecol
12
12
13
- Declaring an API version
13
+ Declaring an API Version
14
14
------------------------
15
15
16
16
To declare an API version, pass a ``serverApi`` driver option when creating your
@@ -43,10 +43,9 @@ Strict API
43
43
----------
44
44
45
45
By default, declaring an API version guarantees behavior for commands that are
46
- part of the versioned API, but does not forbid using commands that are not part
46
+ part of the stable API, but does not forbid using commands that are not part
47
47
of the API version. To only allow commands and options that are part of the
48
- versioned API, specify the ``strict`` option when creating the
49
- specify the ``strict`` option when creating the
48
+ stable API, specify the ``strict`` option when creating the
50
49
:php:`MongoDB\\Driver\\ServerApi <class.mongodb-driver-serverapi>` instance:
51
50
52
51
.. code-block:: php
@@ -83,7 +82,7 @@ testing to ensure a smooth transition to a future API version.
83
82
84
83
At the time of this writing, no part of API version "1" has been deprecated.
85
84
86
- Usage with the command helper
85
+ Usage with the Command Helper
87
86
-----------------------------
88
87
89
88
When using the :phpmethod:`MongoDB\\Database::command()` method to run arbitrary
0 commit comments