Struct rusted_cypher::graph::GraphClient
[−]
[src]
pub struct GraphClient { /* fields omitted */ }
Methods
impl GraphClient
[src]
fn connect<T: AsRef<str>>(endpoint: T) -> Result<Self, GraphError>
fn query(&self) -> CypherQuery
Creates a new CypherQuery
fn exec<S: Into<Statement>>(
&self,
statement: S
) -> Result<CypherResult, GraphError>
&self,
statement: S
) -> Result<CypherResult, GraphError>
Executes the given Statement
Parameter can be anything that implements Into<Statement>
, Into<String>
or Statement
itself
fn transaction(&self) -> Transaction<TransactionCreated>
Creates a new Transaction
fn neo4j_version(&self) -> &Version
fn cypher(&self) -> &Cypher
Deprecated since 1.0.0
: Use methods on GraphClient
instead
Returns a reference to the Cypher
instance of the GraphClient