Skip to main content

Module returning

Module returning 

Source
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§

DeleteStmt
Statement-kind marker
InsertStmtWithOnConflictDoUpdate
Statement-kind marker
InsertStmtWithoutOnConflictDoUpdate
Statement-kind marker
NoReturningClause
Marker type for INSERT/UPDATE/DELETE ASTs that do not have a RETURNING clause attached yet.
ReturningClause
This type represents a SQL Returning clause
ReturningQuerySource
Synthetic query source used as the QS parameter of SelectableExpression / AppearsOnTable when type-checking RETURNING clauses.
UpdateStmt
Statement-kind marker

Traits§

InsertStmtKind
Maps an InsertStatement Values shape to the statement-kind marker that should be used when type-checking that statement’s RETURNING clause.
ReturningClauseHelper
Helper trait that maps an INSERT/UPDATE/DELETE statement type to the same statement type with an explicit ReturningClause<S> attached.