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
- PgAny
Json Expression Methods postgres_backend
- PostgreSQL specific methods present on JSON and JSONB expressions.
- PgArray
Expression Methods postgres_backend
- PostgreSQL specific methods present on array expressions.
- PgBinary
Expression Methods postgres_backend
- PostgreSQL specific methods present on Binary expressions.
- PgExpression
Methods postgres_backend
- PostgreSQL specific methods which are present on all expressions.
- PgJsonb
Expression Methods postgres_backend
- PostgreSQL specific methods present on JSONB expressions.
- PgNet
Expression Methods postgres_backend
- PostgreSQL specific methods present between CIDR/INET expressions
- PgRange
Expression Methods postgres_backend
- PostgreSQL specific methods present on range expressions.
- PgSort
Expression Methods postgres_backend
- PostgreSQL expression methods related to sorting.
- PgText
Expression Methods postgres_backend
- PostgreSQL specific methods present on text expressions.
- PgTimestamp
Expression Methods postgres_backend
- PostgreSQL specific methods present on timestamp expressions.
- Preferred
Bool SqlType - Allow ~type inference on And and Or helper types
- Sqlite
Expression Methods sqlite
- Sqlite specific methods which are present on all expressions.
- Text
Expression Methods - Methods present on text expressions