documentCollection | DocumentCollection The document collection to get the document from. |
document | Document Optional. Any document in the collection. If input document = null, it returns the document following the current document, else the document following the specified document. |
nextDocument | Document The document fetched. |