Expand description
INSERT builder states and clause methods.
InsertBuilder is the builder returned by QueryBuilder::insert. Its
state parameter only allows steps in SQL order: rows (VALUES or a
SELECT), then ON CONFLICT, then RETURNING.
Structs§
- Insert
Columns Set - INSERT builder state after
.columns(...), waiting for its SELECT source.Columnsis the type-level list of target columns. - Insert
DoUpdate Set - Marker for the state after DO UPDATE SET (before optional WHERE).
- Insert
Initial - Marker for the initial state of
InsertBuilder. - Insert
OnConflict Set - Marker for the state after ON CONFLICT is set.
- Insert
Returning Set - Marker for the state after RETURNING clause is added.
- Insert
Values Set - Marker for the state after VALUES are set.
Type Aliases§
- Insert
Builder - A
PostgreSQLINSERTbeing built: aQueryBuilderin one of theInsert*states. - OnConflict
Builder - The
ON CONFLICTtarget of anINSERT, waiting for its action.