Method MongoCursor.front
Returns the current document of the response.
Use empty
and popFront
to iterate over the list of documents using an input range interface. Note that calling this function is only allowed if empty
returns false.
Prototype
Bson front();
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.