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>, MentatError>
[src]
pub fn bind_ref_from_kw(
&mut self,
var: &str,
value: Keyword
) -> Result<&mut QueryBuilder<'a>, MentatError>
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, MentatError>
[src]
pub fn execute(&mut self) -> Result<QueryOutput, MentatError>
pub fn execute_scalar(&mut self) -> Result<Option<Binding>, MentatError>
[src]
pub fn execute_scalar(&mut self) -> Result<Option<Binding>, MentatError>
pub fn execute_coll(&mut self) -> Result<Vec<Binding>, MentatError>
[src]
pub fn execute_coll(&mut self) -> Result<Vec<Binding>, MentatError>
pub fn execute_tuple(&mut self) -> Result<Option<Vec<Binding>>, MentatError>
[src]
pub fn execute_tuple(&mut self) -> Result<Option<Vec<Binding>>, MentatError>
pub fn execute_rel(&mut self) -> Result<RelResult<Binding>, MentatError>
[src]
pub fn execute_rel(&mut self) -> Result<RelResult<Binding>, MentatError>
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>