4

I want to store images in ArangoDb as image file. I want to know if there is any API or Java API for the same. Thanking You in advance.

Haseb Ansari
  • 587
  • 1
  • 7
  • 23

1 Answers1

4

Storing binary data inside ArangoDB has been a long standing feature request. Currently its not possible out of the box.

One can however do this by creating a foxx service that handles the data. The recommended way is to create a file and reference that file name inside the database.

A detailed description and an example foxx app can be found in the cookbook

dothebart
  • 5,972
  • 16
  • 40
  • 1
    I've updated the article, have a look at http://jsteemann.github.io/blog/2014/10/15/handling-binary-data-in-foxx/ – dothebart Jan 28 '16 at 14:26
  • 2
    Handling binary data in ArangoDB v3.x: http://jsteemann.github.io/blog/2016/06/22/handling-binary-data-in-foxx-3-0/ – CodeManX Jan 04 '18 at 00:29