How to bind an array to value in Rust SDK #3995
Unanswered
phong764119
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So here is what I can do in the surrealist.app using the query
Query
INSERT INTO person $data ON DUPLICATE KEY UPDATE name = $input.name, surname = $input.surname;
Variables
The query above worked perfectly but I cannot reproduce using Rust SDK.
What I can do is use the insert method to create new records but can't update on duplicate key
Beta Was this translation helpful? Give feedback.
All reactions