pub fn fetch(self) -> Result<CollectionSession<C>> {
        self.execute(GetCollection::with_name(self.name()))
            .map(|collection| CollectionSession {
                entity: Entity::Object(collection),
                database_name: self.database_name,
                connector: self.connector,
                core: self.core,
            })
    }
/// Fetches the entity of the collection represented by this session and
/// returns a new `CollectionSession` with the entity set in the session.
Fetches the entity of the collection represented by this session and
returns a new `CollectionSession` with the entity set in the session.
Fetches the entity of the collection represented by this session and returns a new ` CollectionSession ` with the entity set in the session .
pub fn fetch(self) -> Result<CollectionSession<C>> {
        self.execute(GetCollection::with_name(self.name()))
            .map(|collection| CollectionSession {
                entity: Entity::Object(collection),
                database_name: self.database_name,
                connector: self.connector,
                core: self.core,
            })
    }
pub fn fetch ( self ) -> Result < CollectionSession < C > > { self . execute ( GetCollection :: with_name ( self . name ( ) ) ) . map ( | collection | CollectionSession { entity : Entity :: Object ( collection ) , database_name : self . database_name , connector : self . connector , core : self . core , } ) }
Fetches the entity of the collection represented by this session and
returns a new `CollectionSession` with the entity set in the session.
Fetches the entity of the collection represented by this session and returns a new ` CollectionSession ` with the entity set in the session .
self
self