Expand description
Adds various methods to construct new expressions. These traits are exported by default, and implemented automatically.
You can rely on the methods provided by this trait existing on any
Expression
of the appropriate type. You should not rely on the specific
traits existing, their names, or their organization.
Traitsยง
- Bool
Expression Methods - Methods present on boolean expressions
- Escape
Expression Methods - Adds the
escape
method toLIKE
andNOT LIKE
. This is used to specify the escape character for the pattern. - Expression
Methods - Methods present on all expressions, except tuples
- Nullable
Expression Methods - Methods present on all expressions
- PgArray
Expression Methods - PostgreSQL specific methods present on array expressions.
- PgExpression
Methods - PostgreSQL specific methods which are present on all expressions.
- PgSort
Expression Methods - PostgreSQL expression methods related to sorting.
- PgText
Expression Methods - PostgreSQL specific methods present on text expressions.
- PgTimestamp
Expression Methods - PostgreSQL specific methods present on timestamp expressions.
- Text
Expression Methods - Methods present on text expressions
- Text
OrNullable Text - Marker trait used to implement
PgTextExpressionMethods
on the appropriate types. Once coherence takes associated types into account, we can remove this trait.