|
MongoDB\BSON\Iterator::keyReturns the key of the current element Description
public stringint MongoDB\BSON\Iterator::key()
ParametersThis function has no parameters. Return ValuesReturns 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. Errors/Exceptions
See Also
|