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
PgAnyJsonExpressionMethods
PostgreSQL specific methods present on JSON and JSONB expressions.
PgArrayExpressionMethods
PostgreSQL specific methods present on array expressions.
PgBinaryExpressionMethods
PostgreSQL specific methods present on Binary expressions.
PgExpressionMethods
PostgreSQL specific methods which are present on all expressions.
PgJsonbExpressionMethods
PostgreSQL specific methods present on JSONB expressions.
PgNetExpressionMethods
PostgreSQL specific methods present between CIDR/INET expressions
PgRangeExpressionMethods
PostgreSQL specific methods present on range expressions.
PgSortExpressionMethods
PostgreSQL expression methods related to sorting.
PgTextExpressionMethods
PostgreSQL specific methods present on text expressions.
PgTimestampExpressionMethods
PostgreSQL specific methods present on timestamp expressions.
PreferredBoolSqlType
Allow ~type inference on And and Or helper types
TextExpressionMethods
Methods present on text expressions