/// Finds the documents in the collection matching `filter`.
Finds the documents in the collection matching `filter`.
Finds the documents in the collection matching ` filter ` .
pub fn find(
        &self,
        filter: impl Into<Option<Document>>,
        options: impl Into<Option<FindOptions>>,
    ) -> Result<Cursor<T>> {
        RUNTIME
            .block_on(self.async_collection.find(filter.into(), options.into()))
            .map(Cursor::new)
    }
pub fn find ( & self , filter : impl Into < Option < Document > > , options : impl Into < Option < FindOptions > > , ) -> Result < Cursor < T > > { RUNTIME . block_on ( self . async_collection . find ( filter . into ( ) , options . into ( ) ) ) . map ( Cursor :: new ) }
Finds the documents in the collection matching `filter`.
Finds the documents in the collection matching ` filter ` .
&self
filter
impl Into<Option<Document>>
options
impl Into<Option<FindOptions>>