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.

struct MongoCursor(DocType = Bson)
@property
DocType
front
()

Meta