Enum mentat_query_sql::Values
[−]
[src]
pub enum Values { Unnamed(usize, Vec<TypedValue>), Named(Vec<Variable>, Vec<TypedValue>), }
Variants
Unnamed(usize, Vec<TypedValue>)
Like "VALUES (0, 1), (2, 3), ...". The vector must be of a length that is a multiple of the given size.
Named(Vec<Variable>, Vec<TypedValue>)
Like "SELECT 0 AS x, SELECT 0 AS y WHERE 0 UNION ALL VALUES (0, 1), (2, 3), ...". The vector of values must be of a length that is a multiple of the length of the vector of names.
Trait Implementations
impl QueryFragment for Values
[src]
impl QueryFragment for Values
fn push_sql(&self, out: &mut QueryBuilder) -> BuildQueryResult
[src]
fn push_sql(&self, out: &mut QueryBuilder) -> BuildQueryResult