array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'mongodb-bson-iterator.key.php', 1 => 'MongoDB\\BSON\\Iterator::key', 2 => 'Returns the key of the current element', ), 'up' => array ( 0 => 'class.mongodb-bson-iterator.php', 1 => 'MongoDB\\BSON\\Iterator', ), 'prev' => array ( 0 => 'mongodb-bson-iterator.current.php', 1 => 'MongoDB\\BSON\\Iterator::current', ), 'next' => array ( 0 => 'mongodb-bson-iterator.next.php', 1 => 'MongoDB\\BSON\\Iterator::next', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/iterator/key.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(mongodb >=1.16.0)
MongoDB\BSON\Iterator::key — Returns the key of the current element
Bu işlevin bağımsız değişkeni yoktur.
Returns the key of the current element. When iterating a BSON document, the key will always be a string. When iterating a BSON array, the key will be an int.