I want to update some fileds in a document but without knowing "_key"

I want to make a query as in Mysql or Oracle 

mysql
UPDATE users 
  SET name = "John Smith"
  WHERE email= "[email protected]";

arangodb first try
UPDATE  { email: "[email protected]"}
WITH { name: "JohnSmith"}
in users 
(error showed Query: AQL: missing document key (while executing))

arangodb second try
REPLACE{ email: "[email protected]"}
WITH { name: "JohnSmith"}
in users 
(error showed Query: AQL: missing document key (while executing))

Where to find more information about this issue and how can i make this 
query

Best

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to