pub fn use_collection(&self, collection: Collection) -> CollectionSession<C> {
        CollectionSession::new(
            Entity::Object(collection),
            self.database_name.clone(),
            self.connector.clone(),
            self.core.clone(),
        )
    }
/// Returns a new `CollectionSession` for the given collection.
Returns a new `CollectionSession` for the given collection.
Returns a new ` CollectionSession ` for the given collection .
pub fn use_collection(&self, collection: Collection) -> CollectionSession<C> {
        CollectionSession::new(
            Entity::Object(collection),
            self.database_name.clone(),
            self.connector.clone(),
            self.core.clone(),
        )
    }
pub fn use_collection ( & self , collection : Collection ) -> CollectionSession < C > { CollectionSession :: new ( Entity :: Object ( collection ) , self . database_name . clone ( ) , self . connector . clone ( ) , self . core . clone ( ) , ) }
Returns a new `CollectionSession` for the given collection.
Returns a new ` CollectionSession ` for the given collection .
&self
collection
Collection
&self
collection
Collection