Struct mongo_driver::CommandAndFindOptions [] [src]

pub struct CommandAndFindOptions {
    pub query_flags: Flags<QueryFlag>,
    pub skip: u32,
    pub limit: u32,
    pub batch_size: u32,
    pub fields: Option<Document>,
    pub read_prefs: Option<ReadPrefs>,
}

Options to configure both command and find operations.

Fields

Flags to use

Number of documents to skip, zero to ignore

Max number of documents to return, zero to ignore

Number of documents in each batch, zero to ignore (default is 100)

Fields to return, not all commands support this option

Read prefs to use

Methods

impl CommandAndFindOptions
[src]

[src]

Default options used if none are provided.

[src]

Trait Implementations

Auto Trait Implementations