From 916805b9cced1440fcd7c25f10cb478878bd5791 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sun, 1 Jan 2023 16:16:58 +0000 Subject: [PATCH] Use `$input` instead of `$value` in `INSERT` statements --- lib/src/doc/alter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/doc/alter.rs b/lib/src/doc/alter.rs index 009253fa..5cd434e3 100644 --- a/lib/src/doc/alter.rs +++ b/lib/src/doc/alter.rs @@ -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() {