pub fn list_collection_names_with_session(
        &self,
        filter: impl Into<Option<Document>>,
        session: &mut ClientSession,
    ) -> Result<Vec<String>> {
        RUNTIME.block_on(
            self.async_database.list_collection_names_with_session(
                filter.into(),
                &mut session.async_client_session,
            ),
        )
    }
/// Gets the names of the collections in the database using the provided `ClientSession`.
Gets the names of the collections in the database using the provided `ClientSession`.
Gets the names of the collections in the database using the provided ` ClientSession ` .
pub fn list_collection_names_with_session(
        &self,
        filter: impl Into<Option<Document>>,
        session: &mut ClientSession,
    ) -> Result<Vec<String>> {
        RUNTIME.block_on(
            self.async_database.list_collection_names_with_session(
                filter.into(),
                &mut session.async_client_session,
            ),
        )
    }
pub fn list_collection_names_with_session ( & self , filter : impl Into < Option < Document > > , session : & mut ClientSession , ) -> Result < Vec < String > > { RUNTIME . block_on ( self . async_database . list_collection_names_with_session ( filter . into ( ) , & mut session . async_client_session , ) , ) }
Gets the names of the collections in the database using the provided `ClientSession`.
Gets the names of the collections in the database using the provided ` ClientSession ` .
&self
filter
impl Into<Option<Document>>
session
&mut ClientSession
&self
filter
impl Into<Option<Document>>
session
&mut ClientSession