Trait tusk_rs::query::PostgresJoins
source · pub trait PostgresJoins {
// Required method
fn joins() -> &'static [&'static PostgresJoin];
}
Expand description
A trait for defining joins in Postgres. This is used for determining how to join tables. This is required for all Tusk database operations.
For more info on implementing this trait,
read the documentation for PostgresJoin
.
Required Methods§
sourcefn joins() -> &'static [&'static PostgresJoin]
fn joins() -> &'static [&'static PostgresJoin]
The joins to perform.
Object Safety§
This trait is not object safe.