pub(crate) fn new(
        entity: Entity<Collection>,
        database_name: String,
        connector: Rc<C>,
        core: Rc<RefCell<Core>>,
    ) -> Self {
        CollectionSession {
            entity,
            database_name,
            connector,
            core,
        }
    }
/// Instantiates a new `CollectionSession` for the given collection entity.
Instantiates a new `CollectionSession` for the given collection entity.
Instantiates a new ` CollectionSession ` for the given collection entity .
pub(crate) fn new(
        entity: Entity<Collection>,
        database_name: String,
        connector: Rc<C>,
        core: Rc<RefCell<Core>>,
    ) -> Self {
        CollectionSession {
            entity,
            database_name,
            connector,
            core,
        }
    }
pub ( crate ) fn new ( entity : Entity < Collection > , database_name : String , connector : Rc < C > , core : Rc < RefCell < Core > > , ) -> Self { CollectionSession { entity , database_name , connector , core , } }
Instantiates a new `CollectionSession` for the given collection entity.
Instantiates a new ` CollectionSession ` for the given collection entity .
entity
Entity<Collection>
database_name
String
connector
Rc<C>
core
Rc<RefCell<Core>>
entity
Entity<Collection>
database_name
String
connector
Rc<C>
core
Rc<RefCell<Core>>