diesel::helper_types

Type Alias AliasedFields

source
pub type AliasedFields<S, F> = <F as FieldAliasMapper<S>>::Out;
Expand description

Maps F to Alias<S>

Any column F that belongs to S::Table will be transformed into AliasedField<S, Self>

Any column F that does not belong to S::Table will be left untouched.

This also works with tuples and some expressions.