Trait diesel::query_source::JoinTo[][src]

pub trait JoinTo<T> { }
Expand description

Indicates that two tables can be joined without an explicit ON clause.

Implementations of this trait are generated by invoking joinable!. Implementing this trait means that you can call left_table.inner_join(right_table), without supplying the ON clause explicitly. To join two tables which do not implement this trait, you will need to call .on.

See joinable! and inner_join for usage examples.

Implementors