pub fn create_graph(&self, new_graph: NewGraph) -> Result<GraphSession<C>> {
        let core = self.core.clone();
        let connector = self.connector.clone();
        let database_name = self.database_name.clone();
        self.execute(CreateGraph::new(new_graph))
            .map(|graph| GraphSession::new(Entity::Object(graph), database_name, connector, core))
    }
/// Creates a new graph in the database represented by this
/// `DatabaseSession`.
Creates a new graph in the database represented by this
`DatabaseSession`.
Creates a new graph in the database represented by this ` DatabaseSession ` .
pub fn create_graph(&self, new_graph: NewGraph) -> Result<GraphSession<C>> {
        let core = self.core.clone();
        let connector = self.connector.clone();
        let database_name = self.database_name.clone();
        self.execute(CreateGraph::new(new_graph))
            .map(|graph| GraphSession::new(Entity::Object(graph), database_name, connector, core))
    }
pub fn create_graph ( & self , new_graph : NewGraph ) -> Result < GraphSession < C > > { let core = self . core . clone ( ) ; let connector = self . connector . clone ( ) ; let database_name = self . database_name . clone ( ) ; self . execute ( CreateGraph :: new ( new_graph ) ) . map ( | graph | GraphSession :: new ( Entity :: Object ( graph ) , database_name , connector , core ) ) }
Creates a new graph in the database represented by this
`DatabaseSession`.
Creates a new graph in the database represented by this ` DatabaseSession ` .
&self
new_graph
NewGraph
&self
new_graph
NewGraph