Expand description
UPDATE builder states and clause methods.
UpdateBuilder is the builder returned by QueryBuilder::update. Its
state parameter only allows steps in SQL order: SET, then FROM,
WHERE and RETURNING. Column checks on WHERE and RETURNING happen
at the method call: they may only read the updated table and the FROM
source.
Structs§
- Update
From Set - Builder state after
UPDATE ... SET ... FROM source. - Update
Initial - Marker for the initial state of
UpdateBuilder. - Update
Returning Set - Marker for the state after RETURNING clause.
- Update
SetClause Set - Marker for the state after SET clause.
- Update
Where Set - Marker for the state after WHERE clause.
Type Aliases§
- Update
Builder - A
PostgreSQLUPDATEbeing built: aQueryBuilderin one of theUpdate*states.