pub struct FalkorClient { /* private fields */ }Expand description
Blocking FalkorDB graph client.
Implementations§
Source§impl FalkorClient
impl FalkorClient
pub fn from_config(config: &FalkorConfig) -> Result<Self>
Sourcepub fn query(
&mut self,
cypher: &str,
params: Option<HashMap<String, String>>,
) -> Result<Vec<Row>>
pub fn query( &mut self, cypher: &str, params: Option<HashMap<String, String>>, ) -> Result<Vec<Row>>
Execute a Cypher query and return parsed rows.
Sourcepub fn query_typed(&mut self, query: TypedQuery) -> Result<Vec<Row>>
pub fn query_typed(&mut self, query: TypedQuery) -> Result<Vec<Row>>
Execute a typed query after its parameters have been rendered safely.
Auto Trait Implementations§
impl Freeze for FalkorClient
impl !RefUnwindSafe for FalkorClient
impl Send for FalkorClient
impl Sync for FalkorClient
impl Unpin for FalkorClient
impl UnsafeUnpin for FalkorClient
impl !UnwindSafe for FalkorClient
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