pub fn use_collection_with_name<N>(&self, collection_name: N) -> CollectionSession<C>
    where
        N: Into<String>,
    {
        CollectionSession::new(
            Entity::Name(collection_name.into()),
            self.database_name.clone(),
            self.connector.clone(),
            self.core.clone(),
        )
    }
/// Returns a new `CollectionSession` for the collection with the given
/// name.
Returns a new `CollectionSession` for the collection with the given
name.
Returns a new ` CollectionSession ` for the collection with the given name .
pub fn use_collection_with_name<N>(&self, collection_name: N) -> CollectionSession<C>
    where
        N: Into<String>,
    {
        CollectionSession::new(
            Entity::Name(collection_name.into()),
            self.database_name.clone(),
            self.connector.clone(),
            self.core.clone(),
        )
    }
pub fn use_collection_with_name < N > ( & self , collection_name : N ) -> CollectionSession < C > where N : Into < String > , { CollectionSession :: new ( Entity :: Name ( collection_name . into ( ) ) , self . database_name . clone ( ) , self . connector . clone ( ) , self . core . clone ( ) , ) }
Returns a new `CollectionSession` for the collection with the given
name.
Returns a new ` CollectionSession ` for the collection with the given name .
&self
collection_name
N
&self
collection_name
N