upsert

Function upsert 

Source
pub fn upsert<T: Bind>() -> Query<T>
Expand description

Constructs an UPSERT query (update or insert) for a row in the table.

SQL: UPDATE .. SET .. WHERE .. ON CONFLICT .. DO UPDATE SET