Struct mentat_ffi::QueryBuilder
[−]
[src]
pub struct QueryBuilder<'a> { /* fields omitted */ }
Methods
impl<'a> QueryBuilder<'a>
[src]
impl<'a> QueryBuilder<'a>
pub fn new<T>(store: &'a mut Store, query: T) -> QueryBuilder<'a> where
T: Into<String>,
[src]
pub fn new<T>(store: &'a mut Store, query: T) -> QueryBuilder<'a> where
T: Into<String>,
pub fn bind_value<T>(&mut self, var: &str, value: T) -> &mut QueryBuilder<'a> where
T: Into<TypedValue>,
[src]
pub fn bind_value<T>(&mut self, var: &str, value: T) -> &mut QueryBuilder<'a> where
T: Into<TypedValue>,
pub fn bind_ref_from_kw(
&mut self,
var: &str,
value: Keyword
) -> Result<&mut QueryBuilder<'a>, Error>
[src]
pub fn bind_ref_from_kw(
&mut self,
var: &str,
value: Keyword
) -> Result<&mut QueryBuilder<'a>, Error>
pub fn bind_ref<T>(&mut self, var: &str, value: T) -> &mut QueryBuilder<'a> where
T: Into<i64>,
[src]
pub fn bind_ref<T>(&mut self, var: &str, value: T) -> &mut QueryBuilder<'a> where
T: Into<i64>,
pub fn bind_long(&mut self, var: &str, value: i64) -> &mut QueryBuilder<'a>
[src]
pub fn bind_long(&mut self, var: &str, value: i64) -> &mut QueryBuilder<'a>
pub fn bind_instant(&mut self, var: &str, value: i64) -> &mut QueryBuilder<'a>
[src]
pub fn bind_instant(&mut self, var: &str, value: i64) -> &mut QueryBuilder<'a>
pub fn bind_date_time(
&mut self,
var: &str,
value: DateTime<Utc>
) -> &mut QueryBuilder<'a>
[src]
pub fn bind_date_time(
&mut self,
var: &str,
value: DateTime<Utc>
) -> &mut QueryBuilder<'a>
pub fn bind_type(
&mut self,
var: &str,
value_type: ValueType
) -> &mut QueryBuilder<'a>
[src]
pub fn bind_type(
&mut self,
var: &str,
value_type: ValueType
) -> &mut QueryBuilder<'a>
pub fn execute(&mut self) -> Result<QueryOutput, Error>
[src]
pub fn execute(&mut self) -> Result<QueryOutput, Error>
pub fn execute_scalar(&mut self) -> Result<Option<Binding>, Error>
[src]
pub fn execute_scalar(&mut self) -> Result<Option<Binding>, Error>
pub fn execute_coll(&mut self) -> Result<Vec<Binding>, Error>
[src]
pub fn execute_coll(&mut self) -> Result<Vec<Binding>, Error>
pub fn execute_tuple(&mut self) -> Result<Option<Vec<Binding>>, Error>
[src]
pub fn execute_tuple(&mut self) -> Result<Option<Vec<Binding>>, Error>
pub fn execute_rel(&mut self) -> Result<RelResult<Binding>, Error>
[src]
pub fn execute_rel(&mut self) -> Result<RelResult<Binding>, Error>
Trait Implementations
Auto Trait Implementations
impl<'a> !Send for QueryBuilder<'a>
impl<'a> !Send for QueryBuilder<'a>
impl<'a> !Sync for QueryBuilder<'a>
impl<'a> !Sync for QueryBuilder<'a>