Use $input
instead of $value
in INSERT
statements
This commit is contained in:
parent
b8c5f23d56
commit
916805b9cc
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ impl<'a> Document<'a> {
|
|||
let mut ctx = Context::new(ctx);
|
||||
// Add insertable value
|
||||
if let Workable::Insert(value) = &self.extras {
|
||||
ctx.add_value("value".into(), value);
|
||||
ctx.add_value("input".into(), value);
|
||||
}
|
||||
// Process ON DUPLICATE KEY clause
|
||||
for x in x.iter() {
|
||||
|
|
Loading…
Reference in a new issue