Available on crate feature
i-implement-a-third-party-backend-and-opt-into-breaking-changes only.Expand description
Types involved in type-checking and emitting SQL RETURNING clauses.
Structs§
- Delete
Stmt - Statement-kind marker
- Insert
Stmt With OnConflict DoUpdate - Statement-kind marker
- Insert
Stmt Without OnConflict DoUpdate - Statement-kind marker
- NoReturning
Clause - Marker type for
INSERT/UPDATE/DELETEASTs that do not have aRETURNINGclause attached yet. - Returning
Clause - This type represents a SQL
Returningclause - Returning
Query Source - Synthetic query source used as the
QSparameter ofSelectableExpression/AppearsOnTablewhen type-checkingRETURNINGclauses. - Update
Stmt - Statement-kind marker
Traits§
- Insert
Stmt Kind - Maps an
InsertStatementValuesshape to the statement-kind marker that should be used when type-checking that statement’sRETURNINGclause. - Returning
Clause Helper - Helper trait that maps an
INSERT/UPDATE/DELETEstatement type to the same statement type with an explicitReturningClause<S>attached.