pub enum QueryType {
Read,
Write,
ReadWrite,
Schema,
}Expand description
Neo4j Query API v2 queryType of a statement.
Variants§
Read
Read-only (r): no write and no schema clause — MATCH / OPTIONAL
MATCH / RETURN / WITH / UNWIND / SHOW, CALL of a read procedure,
USE, FINISH, …
Write
A write with no returned columns (w): CREATE / MERGE / DELETE /
SET / REMOVE / FOREACH / LOAD CSV without a RETURN, MATCH … SET,
MATCH … DETACH DELETE, CALL of a writes-flagged procedure, …
ReadWrite
A write with returned columns (rw): CREATE (n) RETURN n,
MATCH … SET … RETURN …, a UNION or NEXT chain that writes and
ends in a RETURN, …
Schema
Schema commands (s): CREATE/DROP INDEX, CREATE/DROP CONSTRAINT.
Implementations§
Trait Implementations§
impl Copy for QueryType
impl Eq for QueryType
impl StructuralPartialEq for QueryType
Auto Trait Implementations§
impl Forget for QueryType
impl Freeze for QueryType
impl Move for QueryType
impl RefUnwindSafe for QueryType
impl Send for QueryType
impl Sync for QueryType
impl Unpin for QueryType
impl UnsafeUnpin for QueryType
impl UnwindSafe for QueryType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.