如何在 ArangoDB 中存储图像? [英] How to store images in ArangoDB?
本文介绍了如何在 ArangoDB 中存储图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将图像作为图像文件存储在 ArangoDb 中.我想知道是否有相同的 API 或 Java API.提前致谢.
解决方案
在 ArangoDB 中存储二进制数据具有这是一个长期存在的功能请求.目前它不可能开箱即用.
然而,可以通过创建处理数据的 Foxx 服务来实现这一点.推荐的方法是创建一个文件并在数据库中引用该文件名.
详细说明和 示例 Foxx 应用程序可在说明书中找到>
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.
解决方案
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
这篇关于如何在 ArangoDB 中存储图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文