Skip to main content

replace

Function replace 

Source
pub fn replace(mods: impl Mod<ReplaceQuery>) -> ReplaceQuery
Expand description

Build a REPLACE from one mod.

A statement type of its own, not a flag on INSERT: REPLACE has no IGNORE, no HIGH_PRIORITY, no row alias and no ON DUPLICATE KEY UPDATE, and the way to say so is for those mods not to apply to it.