Trait deuterium::sql::ToSql
[−]
[src]
pub trait ToSql { fn to_sql(&self, ctx: &mut SqlContext) -> String; }
Required Methods
fn to_sql(&self, ctx: &mut SqlContext) -> String
Implementations on Foreign Types
impl ToSql for ()
[src]
fn to_sql(&self, _ctx: &mut SqlContext) -> String
[src]
impl<T1> ToSql for (InsertValue<T1>,)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2> ToSql for (InsertValue<T1>, InsertValue<T2>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6, T7> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>, InsertValue<T7>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>, InsertValue<T7>, InsertValue<T8>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>, InsertValue<T7>, InsertValue<T8>, InsertValue<T9>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>, InsertValue<T7>, InsertValue<T8>, InsertValue<T9>, InsertValue<T10>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>, InsertValue<T7>, InsertValue<T8>, InsertValue<T9>, InsertValue<T10>, InsertValue<T11>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ToSql for (InsertValue<T1>, InsertValue<T2>, InsertValue<T3>, InsertValue<T4>, InsertValue<T5>, InsertValue<T6>, InsertValue<T7>, InsertValue<T8>, InsertValue<T9>, InsertValue<T10>, InsertValue<T11>, InsertValue<T12>)
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for bool
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<bool>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for i8
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<i8>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for i16
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<i16>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for i32
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<i32>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for i64
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<i64>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for f32
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<f32>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for f64
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<f64>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for String
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<String>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Vec<u8>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<Vec<u8>>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Value
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<Value>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for NaiveDateTime
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<NaiveDateTime>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Uuid
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<Uuid>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl ToSql for Option<RawExpression>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
impl<T: ToPredicateValue> ToSql for Vec<T>
[src]
fn to_sql(&self, ctx: &mut SqlContext) -> String
[src]
Implementors
impl<T, L, M> ToSql for DeleteQuery<T, L, M>
impl<T> ToSql for InsertValue<T>
impl<T: Clone> ToSql for NamedField<T>
impl ToSql for SharedField
impl<R, T, E> ToSql for Sum<R, T, E> where
R: Clone + 'static,
T: Clone + 'static,
E: SumArg<R, T>,impl<R, T, E> ToSql for Min<R, T, E> where
R: Clone + 'static,
T: Clone + 'static,
E: MinArg<R, T>,impl<R, T, E> ToSql for Max<R, T, E> where
R: Clone + 'static,
T: Clone + 'static,
E: MaxArg<R, T>,impl<R, T, E> ToSql for Avg<R, T, E> where
R: Clone + 'static,
T: Clone + 'static,
E: AvgArg<R, T>,impl<R, T, E> ToSql for Count<R, T, E> where
R: Clone + 'static,
T: Clone + 'static,
E: CountArg<R, T>,impl ToSql for CountAll
impl<T: Clone, V: Clone + ToSql, M: Clone, RT: Clone, RL: Clone> ToSql for InsertQuery<T, V, M, RT, RL>
impl ToSql for Placeholder
impl<T, L, M> ToSql for SelectQuery<T, L, M>
impl ToSql for SharedSelectQuery
impl ToSql for Select
impl<F: ToPredicateValue, T: ToPredicateValue> ToSql for FieldUpdate<F, T>
impl<T, L, M> ToSql for UpdateQuery<T, L, M>
impl ToSql for RawExpression