pub trait JoinArg<'a, FromTable> {
type JoinedTable;
// Required method
fn into_join_sql(self, join: Join) -> SQL<'a, PostgresValue<'a>>;
}Expand description
Trait for arguments accepted by .join() and related join methods.
Required Associated Types§
type JoinedTable
Required Methods§
fn into_join_sql(self, join: Join) -> SQL<'a, PostgresValue<'a>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<'a, U, C, T> JoinArg<'a, T> for (U, C)
Tuple (table, condition): explicit ON condition.
impl<'a, U, C, T> JoinArg<'a, T> for (U, C)
Tuple (table, condition): explicit ON condition.