john pillans
john pillans

Reputation: 23

Creating complex JSON object and storing in Arangodb

Are there any examples of creating a complex json object then storing in arangodb using the java driver? Just a bit of sample code would be great.

Upvotes: 0

Views: 854

Answers (1)

fceller
fceller

Reputation: 2764

You should have a look at the example provided in https://github.com/arangodb/arangodb-java-driver/blob/master/src/test/java/com/arangodb/example/ExecuteDocumentQueryExample.java

It generates an AQL query and returns the result as (complex) JSON object.

Upvotes: 1

Related Questions