Trait diesel::query_source::Table
[−]
[src]
pub trait Table: QuerySource + AsQuery + Sized { type PrimaryKey: SelectableExpression<Self> + NonAggregate; type AllColumns: SelectableExpression<Self> + NonAggregate; fn primary_key(&self) -> Self::PrimaryKey; fn all_columns() -> Self::AllColumns; }
A SQL database table. Types which implement this trait should have been
generated by the table!
macro.