Commit 206cdde3 authored by Jeremy Mikola's avatar Jeremy Mikola

Refer to extension docs for Client::startSession() options

parent a7076f99
arg_name: option
name: causalConsistency
type: boolean
description: |
Enables or disables :ref:`causal consistency <causal-consistency>` for the
session. If true, each operation in the session will be causally ordered after
the previous read or write operation. Set to false to disable causal
consistency. Defaults to true.
interface: phpmethod
operation: ~
optional: true
...
......@@ -23,14 +23,14 @@ Definition
function startSession(array $options = []): MongoDB\Driver\Session
The ``$options`` parameter supports the following options:
.. include:: /includes/apiargs/MongoDBClient-method-startSession-option.rst
Refer to the :php:`MongoDB\\Driver\\Manager::startSession()
<mongodb-driver-manager.startsession>` extension reference for accepted
options.
Return Values
-------------
A :php:`MongoDB\Driver\Session <mongodb-driver-session>`
A :php:`MongoDB\Driver\Session <mongodb-driver-session>` object.
Errors/Exceptions
-----------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment