Module query_source

Source
Expand description

Types related to describing schema, and interactions between tables.

Most traits in this module are derived or generated by table!.

Structs§

Alias
Represents an alias within diesel’s query builder
AliasedField
Represents an aliased field (column) within diesel’s query builder
MoreThanOnce
A table appears in the from clause two or more times.
Never
A table never appears in the from clause.
Once
A table appears in the from clause exactly one time.

Traits§

AliasSource
Types created by the alias! macro that serve to distinguish between aliases implement this trait.
AppearsInFromClause
Determines how many times Self appears in QS
Column
A column on a database table. Types which implement this trait should have been generated by the table! macro.
JoinTo
Indicates that two tables can be joined without an explicit ON clause.
Plus
Add two peano numbers together.
QuerySource
Represents a type which can appear in the FROM clause. Apps should not need to concern themselves with this trait.
SizeRestrictedColumn
Max length for columns of type Char/Varchar…
Table
A SQL database table. Types which implement this trait should have been generated by the table! macro.
TableNotEqual
Allows Diesel to implement some internal traits for two tables that are distinct.