Skip to main content

entity_insert_statement

Function entity_insert_statement 

Source
pub fn entity_insert_statement(entity: &Entity) -> SqlStatement
Expand description

Insert a new entity without replacing an existing live or deleted row. A competing ID causes a constraint error, so a prepared create cannot overwrite a row committed after its absence check.