[−][src]Trait diesel::query_builder::QueryId
Uniquely identifies queries by their type for the purpose of prepared statement caching.
All types which implement QueryFragment
should also implement this trait
(It is not an actual supertrait of QueryFragment
for boxing purposes).
See the documentation of the QueryId
type and HAS_STATIC_QUERY_ID
for more details.
Deriving
This trait can be automatically derived by Diesel. For example, given this struct:
#[derive(QueryId)] pub struct And<Left, Right> { left: Left, right: Right, }
the following implementation will be generated
impl<Left, Right> QueryId for And<Left, Right> where Left: QueryId, Right: QueryId, { type QueryId = And<Left::QueryId, Right::QueryId>; const HAS_STATIC_QUERY_ID: bool = Left::HAS_STATIC_QUERY_ID && Right::HAS_STATIC_QUERY_ID; }
If the SQL generated by a struct is not uniquely identifiable by its type,
meaning that HAS_STATIC_QUERY_ID
should always be false,
you should not derive this trait.
In that case you should manually implement it instead.
Associated Types
type QueryId: Any
A type which uniquely represents Self
in a SQL query.
Typically this will be a re-construction of Self
using the QueryId
type of each of your type parameters. For example, the type And<Left, Right>
would have type QueryId = And<Left::QueryId, Right::QueryId>
.
The exception to this is when one of your type parameters does not
affect whether the same prepared statement can be used or not. For
example, a bind parameter is represented as Bound<SqlType, RustType>
.
The actual Rust type we are serializing does not matter for the purposes
of prepared statement reuse, but a query which has identical SQL but
different types for its bind parameters requires a new prepared
statement. For this reason, Bound
would have type QueryId = Bound<SqlType::QueryId, ()>
.
If HAS_STATIC_QUERY_ID
is false
, you can put any type here
(typically ()
).
Associated Constants
const HAS_STATIC_QUERY_ID: bool
Can the SQL generated by Self
be uniquely identified by its type?
Typically this question can be answered by looking at whether
unsafe_to_cache_prepared
is called in your implementation of
QueryFragment::walk_ast
. In Diesel itself, the only type which has
false
here, but is potentially safe to store in the prepared statement
cache is a boxed query.
Provided methods
fn query_id() -> Option<TypeId>
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
.
Returns None
otherwise.
You should never need to override this method.
Implementations on Foreign Types
impl QueryId for ()
[src]
type QueryId = ()
const HAS_STATIC_QUERY_ID: bool
[src]
impl<T: QueryId + ?Sized> QueryId for Box<T>
[src]
type QueryId = T::QueryId
const HAS_STATIC_QUERY_ID: bool
[src]
impl<'a, T: QueryId + ?Sized> QueryId for &'a T
[src]
type QueryId = T::QueryId
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId> QueryId for (A,)
[src]
impl<A: QueryId, B: QueryId> QueryId for (A, B)
[src]
impl<A: QueryId, B: QueryId, C: QueryId> QueryId for (A, B, C)
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId> QueryId for (A, B, C, D)
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId> QueryId for (A, B, C, D, E)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId> QueryId for (A, B, C, D, E, F)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId> QueryId for (A, B, C, D, E, F, G)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId> QueryId for (A, B, C, D, E, F, G, H)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId> QueryId for (A, B, C, D, E, F, G, H, I)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId, AA: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId, AA::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId, AA: QueryId, AB: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId, AA::QueryId, AB::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId, AA: QueryId, AB: QueryId, AC: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId, AA::QueryId, AB::QueryId, AC::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId, AA: QueryId, AB: QueryId, AC: QueryId, AD: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId, AA::QueryId, AB::QueryId, AC::QueryId, AD::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId, AA: QueryId, AB: QueryId, AC: QueryId, AD: QueryId, AE: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId, AA::QueryId, AB::QueryId, AC::QueryId, AD::QueryId, AE::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
impl<A: QueryId, B: QueryId, C: QueryId, D: QueryId, E: QueryId, F: QueryId, G: QueryId, H: QueryId, I: QueryId, J: QueryId, K: QueryId, L: QueryId, M: QueryId, N: QueryId, O: QueryId, P: QueryId, Q: QueryId, R: QueryId, S: QueryId, T: QueryId, U: QueryId, V: QueryId, W: QueryId, X: QueryId, Y: QueryId, Z: QueryId, AA: QueryId, AB: QueryId, AC: QueryId, AD: QueryId, AE: QueryId, AF: QueryId> QueryId for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF)
[src]
type QueryId = (A::QueryId, B::QueryId, C::QueryId, D::QueryId, E::QueryId, F::QueryId, G::QueryId, H::QueryId, I::QueryId, J::QueryId, K::QueryId, L::QueryId, M::QueryId, N::QueryId, O::QueryId, P::QueryId, Q::QueryId, R::QueryId, S::QueryId, T::QueryId, U::QueryId, V::QueryId, W::QueryId, X::QueryId, Y::QueryId, Z::QueryId, AA::QueryId, AB::QueryId, AC::QueryId, AD::QueryId, AE::QueryId, AF::QueryId)
const HAS_STATIC_QUERY_ID: bool
[src]
Implementors
impl QueryId for now
[src]
type QueryId = now
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Datetime
[src]
type QueryId = Datetime
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for SqlQuery
[src]
type QueryId = ()
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for BigInt
[src]
type QueryId = BigInt
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Binary
[src]
type QueryId = Binary
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Bool
[src]
type QueryId = Bool
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Date
[src]
type QueryId = Date
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Double
[src]
type QueryId = Double
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Float
[src]
type QueryId = Float
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Integer
[src]
type QueryId = Integer
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Interval
[src]
type QueryId = Interval
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Numeric
[src]
type QueryId = Numeric
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for SmallInt
[src]
type QueryId = SmallInt
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Text
[src]
type QueryId = Text
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Time
[src]
type QueryId = Time
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for Timestamp
[src]
type QueryId = Timestamp
const HAS_STATIC_QUERY_ID: bool
[src]
impl QueryId for TinyInt
[src]
type QueryId = TinyInt
const HAS_STATIC_QUERY_ID: bool
[src]
impl<'a, QS, ST, DB> QueryId for dyn BoxableExpression<QS, DB, SqlType = ST> + 'a
[src]
type QueryId = ()
const HAS_STATIC_QUERY_ID: bool
[src]
impl<DB> QueryId for dyn QueryFragment<DB>
[src]
type QueryId = ()
const HAS_STATIC_QUERY_ID: bool
[src]
impl<Query: QueryId, Value: QueryId> QueryId for UncheckedBind<Query, Value>
[src]
type QueryId = UncheckedBind<<Query as QueryId>::QueryId, <Value as QueryId>::QueryId>
const HAS_STATIC_QUERY_ID: bool
[src]
impl<ST, T> QueryId for SqlLiteral<ST, T>
[src]
type QueryId = ()
const HAS_STATIC_QUERY_ID: bool
[src]
impl<ST: QueryId> QueryId for Unsigned<ST>
[src]
impl<T> QueryId for Nullable<T> where
T: QueryId + NotNull,
[src]
T: QueryId + NotNull,