[−][src]Struct quaint::visitor::Sqlite
A visitor to generate queries for the SQLite database.
The returned parameter values implement the ToSql
trait from rusqlite and
can be used directly with the database.
Trait Implementations
impl<'a> Visitor<'a> for Sqlite<'a>
[src]
const C_BACKTICK: &'static str
[src]
const C_WILDCARD: &'static str
[src]
fn build<Q>(query: Q) -> (String, Vec<ParameterizedValue<'a>>) where
Q: Into<Query<'a>>,
[src]
Q: Into<Query<'a>>,
fn write<D: Display>(&mut self, s: D) -> Result
[src]
fn visit_insert(&mut self, insert: Insert<'a>) -> Result
[src]
fn parameter_substitution(&mut self) -> Result
[src]
fn add_parameter(&mut self, value: ParameterizedValue<'a>)
[src]
fn visit_limit_and_offset(
&mut self,
limit: Option<ParameterizedValue<'a>>,
offset: Option<ParameterizedValue<'a>>
) -> Result
[src]
&mut self,
limit: Option<ParameterizedValue<'a>>,
offset: Option<ParameterizedValue<'a>>
) -> Result
fn visit_aggregate_to_string(&mut self, value: DatabaseValue<'a>) -> Result
[src]
fn surround_with<F>(&mut self, begin: &str, end: &str, f: F) -> Result where
F: FnOnce(&mut Self) -> Result,
[src]
F: FnOnce(&mut Self) -> Result,
fn visit_parameterized(&mut self, value: ParameterizedValue<'a>) -> Result
[src]
fn visit_joins(&mut self, joins: Vec<Join<'a>>) -> Result
[src]
fn visit_join_data(&mut self, data: JoinData<'a>) -> Result
[src]
fn visit_select(&mut self, select: Select<'a>) -> Result
[src]
fn visit_update(&mut self, update: Update<'a>) -> Result
[src]
fn visit_delete(&mut self, delete: Delete<'a>) -> Result
[src]
fn delimited_identifiers(&mut self, parts: &[&str]) -> Result
[src]
fn visit_query(&mut self, query: Query<'a>)
[src]
fn visit_union(&mut self, ua: Union<'a>) -> Result
[src]
fn visit_columns(&mut self, columns: Vec<DatabaseValue<'a>>) -> Result
[src]
fn visit_operation(&mut self, op: SqlOp<'a>) -> Result
[src]
fn visit_database_value(&mut self, value: DatabaseValue<'a>) -> Result
[src]
fn visit_table(&mut self, table: Table<'a>, include_alias: bool) -> Result
[src]
fn visit_column(&mut self, column: Column<'a>) -> Result
[src]
fn visit_row(&mut self, row: Row<'a>) -> Result
[src]
fn visit_conditions(&mut self, tree: ConditionTree<'a>) -> Result
[src]
fn visit_expression(&mut self, expression: Expression<'a>) -> Result
[src]
fn visit_compare(&mut self, compare: Compare<'a>) -> Result
[src]
fn visit_ordering(&mut self, ordering: Ordering<'a>) -> Result
[src]
fn visit_grouping(&mut self, grouping: Grouping<'a>) -> Result
[src]
fn visit_function(&mut self, fun: Function<'a>) -> Result
[src]
fn visit_partitioning(&mut self, over: Over<'a>) -> Result
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Sqlite<'a>
impl<'a> Send for Sqlite<'a>
impl<'a> Sync for Sqlite<'a>
impl<'a> Unpin for Sqlite<'a>
impl<'a> UnwindSafe for Sqlite<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,