Module sea_orm::query

source ·
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 impl QueryTrait.

Structs

Represents the value of an Condition::any or Condition::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

Creates constraints for any structure that can create a database connection and execute SQL statements
A trait for any type that can be turn into a cursor
Performs a conversion to SimpleExpr
A Trait for any type that can paginate results
Perform a FILTER opertation on a statement
Performs ORDER BY operations
Constraints for any type that needs to perform select statements on a Model
A Trait for any type performing queries on a Model or ActiveModel
Stream query results
Spawn database transaction

Type Definitions