pub trait QueryRelationField: Expression {
type QueryRelation: QueryRelation;
const NAME: &'static str;
}Expand description
A field on a database relation. Types which implement this trait
should have been generated by the table! macro or
the [view! macro](crate::view!
Required Associated Constants§
Required Associated Types§
Sourcetype QueryRelation: QueryRelation
type QueryRelation: QueryRelation
The query relation which this field belongs to
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.