|
The MongoDB\Driver\Session classはじめにThe MongoDB\Driver\Session class represents a client session and is returned by MongoDB\Driver\Manager::startSession. Commands, queries, and write operations may then be associated the session. クラス概要MongoDB\Driver\Session
final
class MongoDB\Driver\Session
{
/* 定数 */
const
string
MongoDB\Driver\Session::TRANSACTION_NONE = none;
const
string
MongoDB\Driver\Session::TRANSACTION_STARTING = starting;
const
string
MongoDB\Driver\Session::TRANSACTION_IN_PROGRESS = in_progress;
const
string
MongoDB\Driver\Session::TRANSACTION_COMMITTED = committed;
const
string
MongoDB\Driver\Session::TRANSACTION_ABORTED = aborted;
/* メソッド */
final public void abortTransaction()
final public void advanceClusterTime(arrayobject
$clusterTime )final public void advanceOperationTime(MongoDB\BSON\TimestampInterface
$operationTime )final public void commitTransaction()
final private __construct()
final public void endSession()
final public objectnull getClusterTime()
final public object getLogicalSessionId()
final public MongoDB\BSON\Timestampnull getOperationTime()
final public MongoDB\Driver\Servernull getServer()
final public arraynull getTransactionOptions()
final public string getTransactionState()
final public bool isDirty()
final public bool isInTransaction()
final public void startTransaction(arraynull
}$options = null )定義済み定数
|