将图像存储在mongo数据库中 [英] store images in a mongo database

查看:128
本文介绍了将图像存储在mongo数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在mongo数据库中存储图像,而不仅仅是文本。我可以在一个mongoo数据库中创建一个数组的图像。

how can i store images in a mongo database rather than just text. can i create an array of images in a mongoo database. will it be possible to do the same for videos?

推荐答案

请参阅 GridFS docs有关存储此类二进制数据的详细信息。

Please see the GridFS docs for details on storing such binary data.

支持您的特定语言应该链接到屏幕底部。

Support for your specific language should be linked to at the bottom of the screen.

这篇关于将图像存储在mongo数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆