Module expression_methods

Source
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ยง

BoolExpressionMethods
Methods present on boolean expressions
EscapeExpressionMethods
Adds the escape method to LIKE and NOT LIKE. This is used to specify the escape character for the pattern.
ExpressionMethods
Methods present on all expressions, except tuples
NullableExpressionMethods
Methods present on all expressions
PgArrayExpressionMethods
PostgreSQL specific methods present on array expressions.
PgExpressionMethods
PostgreSQL specific methods which are present on all expressions.
PgSortExpressionMethods
PostgreSQL expression methods related to sorting.
PgTextExpressionMethods
PostgreSQL specific methods present on text expressions.
PgTimestampExpressionMethods
PostgreSQL specific methods present on timestamp expressions.
TextExpressionMethods
Methods present on text expressions
TextOrNullableText
Marker trait used to implement PgTextExpressionMethods on the appropriate types. Once coherence takes associated types into account, we can remove this trait.