pub fn list_collection_names(
        &self,
        filter: impl Into<Option<Document>>,
    ) -> Result<Vec<String>> {
        RUNTIME.block_on(self.async_database.list_collection_names(filter.into()))
    }
/// Gets the names of the collections in the database.
Gets the names of the collections in the database.
Gets the names of the collections in the database .
pub fn list_collection_names(
        &self,
        filter: impl Into<Option<Document>>,
    ) -> Result<Vec<String>> {
        RUNTIME.block_on(self.async_database.list_collection_names(filter.into()))
    }
pub fn list_collection_names ( & self , filter : impl Into < Option < Document > > , ) -> Result < Vec < String > > { RUNTIME . block_on ( self . async_database . list_collection_names ( filter . into ( ) ) ) }
Gets the names of the collections in the database.
Gets the names of the collections in the database .
&self
filter
impl Into<Option<Document>>
&self
filter
impl Into<Option<Document>>