add documentation not to use getMore with db.command

pull/39/head
Michael Jansen 7 years ago
parent 8e0b37bc03
commit 0aa99ffbc5

@ -48,6 +48,8 @@ impl<'a> Database<'a> {
/// Execute a command on the database. /// Execute a command on the database.
/// This is performed lazily and therefore requires calling `next` on the resulting cursor. /// This is performed lazily and therefore requires calling `next` on the resulting cursor.
/// Results are returned in batches as per the mongoc driver.
/// To get the next batch: https://docs.mongodb.com/manual/reference/command/getMore/
pub fn command( pub fn command(
&'a self, &'a self,
command: Document, command: Document,

Loading…
Cancel
Save