Fix error in RPC Modify method query
This commit is contained in:
parent
4ab552a8e3
commit
4438415b55
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ impl Rpc {
|
|||
// Get a database reference
|
||||
let kvs = DB.get().unwrap();
|
||||
// Specify the SQL query string
|
||||
let sql = "UPDATE $what DIFF $data RETURN DIFF";
|
||||
let sql = "UPDATE $what PATCH $data RETURN DIFF";
|
||||
// Specify the query paramaters
|
||||
let var = Some(map! {
|
||||
String::from("what") => what.make_table_or_thing(),
|
||||
|
|
Loading…
Reference in a new issue