array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'mongodb-driver-session.getclustertime.php', 1 => 'MongoDB\\Driver\\Session::getClusterTime', ), 'up' => array ( 0 => 'class.mongodb-driver-session.php', 1 => 'MongoDB\\Driver\\Session', ), 'prev' => array ( 0 => 'mongodb-driver-session.endsession.php', 1 => 'MongoDB\\Driver\\Session::endSession', ), 'next' => array ( 0 => 'mongodb-driver-session.getlogicalsessionid.php', 1 => 'MongoDB\\Driver\\Session::getLogicalSessionId', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/session/getclustertime.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.4.0)
MongoDB\Driver\Session::getClusterTime — Returns the cluster time for this session
Returns the cluster time for this session. If the session has not been used
for any operation and
MongoDB\Driver\Session::advanceClusterTime() has not
been called, the cluster time will be null
.
Esta función no tiene parámetros.
Returns the cluster time for this session, or null
if the session has no
cluster time.