Expand description
Holds types and methods to perform queries
Re-exports§
pub use crate::ConnectionTrait;
pub use crate::CursorTrait;
pub use crate::InsertResult;
pub use crate::PaginatorTrait;
pub use crate::Statement;
pub use crate::StreamTrait;
pub use crate::TransactionTrait;
pub use crate::UpdateResult;
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
- 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
- Performs INSERT operations on a ActiveModel, will do nothing if input is empty.
- 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
Enums§
- Join types
- Represents any valid JSON value.
- Ordering options
- Value variants
Traits§
- Entity, or a Select
; to be used as parameters in LoaderTrait
- Performs a conversion to SimpleExpr
- This trait implements the Data Loader API
- 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
- Select specific column for partial model queries