Lustra::SQL::InsertQuery
Inherits Lustra::SQL::Query::OnConflict < Lustra::SQL::Query::Connection < Lustra::SQL::Query::Change < Lustra::SQL::Query::CTE < Reference < Object
An insert query
cf. postgres documentation
[ WITH [ RECURSIVE ] with_query [, ...] ]
INSERT INTO table_name [ AS alias ] [ ( column_name [, ...] ) ]
{ DEFAULT VALUES | VALUES ( { expression | DEFAULT } [, ...] ) [, ...] | query }
[ ON CONFLICT [ conflict_target ] conflict_action ]
[ RETURNING * | output_expression [ [ AS ] output_name ] [, ...] ]
Constructors
Instance methods
clear_values
Sourcekeys
Sourcereturning
Sourcetable
Sourcetable?
Sourceto_sql
Sourcevalues
Sourcevalues(*args)
Source