this is the code used for upsert with java-arango driver - https://cloud.githubusercontent.com/assets/14013920/15042880/7e885d20-12e5-11e6-9896-08c25ef05518.png
This is how it looks in arango. (1st line is commit/insert through shell and 2nd is through code). https://cloud.githubusercontent.com/assets/14013920/15042891/96ede1d2-12e5-11e6-8680-f68064af9702.png Query run on shell : - arangosh [test]> db._query("UPSERT {_key:'133_rohit'} INSERT {_key:'133_rohit',n ame:'RB Bansal'} UPDATE {_key:'133_rohit',\"name\":\"RaB Bansal\"} IN firstColle ction") There is difference in observation when same query ran through java driver code and shell. In case of java driver, it is ignoring the key sent by me and generating a key on its own. In case of shell, its respecting the _key supplied by me. -- 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.
