Skip to main content

Module insert

Module insert 

Source
Expand description

The INSERT builder: InsertBuilder, its states, and OnConflictBuilder.

Start an INSERT with QueryBuilder::insert.

Structs§

InsertColumnsSet
INSERT builder state after .columns(...), waiting for its SELECT source. Columns is the type-level list of target columns.
InsertDoUpdateSet
Marker for the state after DO UPDATE SET (before optional WHERE).
InsertInitial
Marker for the initial state of InsertBuilder.
InsertOnConflictSet
Marker for the state after ON CONFLICT is set.
InsertReturningSet
Marker for the state after RETURNING clause is added.
InsertValuesSet
Marker for the state after VALUES are set.

Type Aliases§

InsertBuilder
An INSERT query being built for SQLite.
OnConflictBuilder
An ON CONFLICT (target) clause waiting for its action.