Struct mentat::query_builder::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 where
T: Into<String>,
[src]
pub fn new<T>(store: &'a mut Store, query: T) -> QueryBuilder where
T: Into<String>,
ⓘImportant traits for &'a mut Rpub fn bind_value<T>(&mut self, var: &str, value: T) -> &mut Self where
T: Into<TypedValue>,
[src]
ⓘImportant traits for &'a mut R
pub fn bind_value<T>(&mut self, var: &str, value: T) -> &mut Self where
T: Into<TypedValue>,
pub fn bind_ref_from_kw(
&mut self,
var: &str,
value: Keyword
) -> Result<&mut Self>
[src]
pub fn bind_ref_from_kw(
&mut self,
var: &str,
value: Keyword
) -> Result<&mut Self>
ⓘImportant traits for &'a mut Rpub fn bind_ref<T>(&mut self, var: &str, value: T) -> &mut Self where
T: Into<Entid>,
[src]
ⓘImportant traits for &'a mut R
pub fn bind_ref<T>(&mut self, var: &str, value: T) -> &mut Self where
T: Into<Entid>,
ⓘImportant traits for &'a mut Rpub fn bind_long(&mut self, var: &str, value: i64) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn bind_long(&mut self, var: &str, value: i64) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn bind_instant(&mut self, var: &str, value: i64) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn bind_instant(&mut self, var: &str, value: i64) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn bind_date_time(&mut self, var: &str, value: DateTime<Utc>) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn bind_date_time(&mut self, var: &str, value: DateTime<Utc>) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn bind_type(&mut self, var: &str, value_type: ValueType) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn bind_type(&mut self, var: &str, value_type: ValueType) -> &mut Self
pub fn execute(&mut self) -> Result<QueryOutput>
[src]
pub fn execute(&mut self) -> Result<QueryOutput>
pub fn execute_scalar(&mut self) -> Result<Option<Binding>>
[src]
pub fn execute_scalar(&mut self) -> Result<Option<Binding>>
pub fn execute_coll(&mut self) -> Result<Vec<Binding>>
[src]
pub fn execute_coll(&mut self) -> Result<Vec<Binding>>
pub fn execute_tuple(&mut self) -> Result<Option<Vec<Binding>>>
[src]
pub fn execute_tuple(&mut self) -> Result<Option<Vec<Binding>>>
pub fn execute_rel(&mut self) -> Result<RelResult<Binding>>
[src]
pub fn execute_rel(&mut self) -> Result<RelResult<Binding>>
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>