Expand description
Holds types and methods to perform queries
Macros
- Helper to get a raw SQL string from an object that impl
QueryTrait
. - Helper to get a
Statement
from an object that implQueryTrait
.
Structs
- Represents the value of an
Condition::any
orCondition::all
: a set of disjunctive or conjunctive conditions. - This structure provides debug capabilities
- Defines the structure for a delete operation
- Perform a delete operation on multiple models
- Perform a delete operation on a model
- Performs INSERT operations on a ActiveModel
- The result of an INSERT operation on an ActiveModel
- Defines a structure to perform select operations
- Implements the traits Iden and IdenStatic for a type
- Implements the traits Iden and IdenStatic for a type
- Defines a structure to perform a SELECT operation on two Models
- Defines a structure to perform a SELECT operation on many Models
- Defines an SQL statement
- Defines a structure to perform UPDATE query operations on a ActiveModel
- Defines an UPDATE operation on multiple ActiveModels
- Defines an UPDATE operation on one ActiveModel
- The result of an update operation on an ActiveModel
Enums
- Join types
- Represents any valid JSON value.
- Ordering options
- Value variants
Traits
- The generic API for a database connection that can perform query or execute statements. It abstracts database connection and transaction
- A trait for any type that can be turn into a cursor
- Entity, or a Select
; to be used as parameters in LoaderTrait
- Performs a conversion to SimpleExpr
- This trait implements the Data Loader API
- A Trait for any type that can paginate results
- Perform a FILTER opertation on a statement
- Performs ORDER BY operations
- Abstract API for performing queries
- A Trait for any type performing queries on a Model or ActiveModel
- Stream query results
- Spawn database transaction