Module butane_core::query[][src]

Expand description

Types to support database queries. Most users will use the query!, filter!, and find! macros instead of using this module directly.

Structs

Column
FieldExpr

Used to implement the query! and filter! macros.

ManyFieldExpr
Order

Represents a sorting term (ORDER BY in SQL).

Query

Representation of a database query.

Enums

BoolExpr

Abstract representation of a boolean expression.

Expr

Abstract representation of a database expression.

Join
OrderDirection

Represents the direction of a sort.

Traits

DataOrd

Marker trait to determine whether values can be compared. Unlike PartialOrd, handles Option, which we need for nullable types.