Module query
Expand description
Holds types and methods to perform queries
Structs§
- Condition
 - Represents the value of an 
Condition::anyorCondition::all: a set of disjunctive or conjunctive conditions. - Debug
Query  - This structure provides debug capabilities
 - Delete
 - Defines the structure for a delete operation
 - Delete
Many  - Perform a delete operation on multiple models
 - Delete
One  - Perform a delete operation on a model
 - Insert
 - Performs INSERT operations on a ActiveModel
 - Insert
Result  - The result of an INSERT operation on an ActiveModel
 - Select
 - Defines a structure to perform select operations
 - SelectA
 - Implements the traits Iden and IdenStatic for a type
 - SelectB
 - Implements the traits Iden and IdenStatic for a type
 - Select
Two  - Defines a structure to perform a SELECT operation on two Models
 - Select
TwoMany  - Defines a structure to perform a SELECT operation on many Models
 - Statement
 - Defines an SQL statement
 - TryInsert
 - Performs INSERT operations on a ActiveModel, will do nothing if input is empty.
 - Update
 - Defines a structure to perform UPDATE query operations on a ActiveModel
 - Update
Many  - Defines an UPDATE operation on multiple ActiveModels
 - Update
One  - Defines an UPDATE operation on one ActiveModel
 - Update
Result  - The result of an update operation on an ActiveModel
 - Values
 
Enums§
Traits§
- Conditional
Statement  - Connection
Trait  - The generic API for a database connection that can perform query or execute statements. It abstracts database connection and transaction
 - Cursor
Trait  - A trait for any type that can be turn into a cursor
 - Entity
OrSelect  - Entity, or a Select
; to be used as parameters in LoaderTrait - Into
Simple Expr  - Performs a conversion to SimpleExpr
 - Loader
Trait  - This trait implements the Data Loader API
 - Ordered
Statement  - Paginator
Trait  - A Trait for any type that can paginate results
 - Query
Filter  - Perform a FILTER opertation on a statement
 - Query
Order  - Performs ORDER BY operations
 - Query
Select  - Abstract API for performing queries
 - Query
Trait  - A Trait for any type performing queries on a Model or ActiveModel
 - Select
Columns  - Select specific column for partial model queries
 - Stream
Trait  - Stream query results
 - Transaction
Trait  - Spawn database transaction