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.
Asked
Active
Viewed 3,424 times
4
-
2there is no binary support in ArangoDB yet, you could store it as Base64 encoded – raoof hojat Jan 27 '16 at 14:01
1 Answers
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
-
1I'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
-
2Handling 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