django 内置对 MongoDB 的支持 [英] django built-in support for MongoDB
问题描述
如果官方 django 将支持任何 noSQL DBMS,尤其是 MongoDB,我正在尝试查找任何信息.我找到了一个 fork of django 1.3 django-nonrel (官方 django 的一个分支)和其他一些不太可靠的项目(根据我在网上找到的评论,失败经常发生).django 会不会正式支持 noSQL?
I'm trying to find any information if official django is going to support any noSQL DBMS, especially MongoDB. I found a fork of django 1.3 the django-nonrel (a fork of official django) and some other not very reliable projects (failures occur often, according to comments I found on the web). Is django going to support noSQL officially at all?
推荐答案
也许有实现目标的其他方式,除了使用 noSQL
.
简而言之,如果您只需要动态字段,您还有其他选择.我在另一个答案中有一篇关于它们的详细文章:
In short, if you just need dynamic fields, you have other options. I have an extensive writeup about them in another answer:
- 实体-属性-价值模型 (Django-eav)
- PostgreSQL hstore (Django-hstore)
- 动态模型基于迁移 (Django-mutant)
- Entity–attribute–value model (Django-eav)
- PostgreSQL hstore (Django-hstore)
- Dynamic models based on migrations (Django-mutant)
是的,这不是您所要求的,但这就是我们目前所拥有的.
Yes, that's not exactly what you've asked for, but that's all that we've currently got.
这篇关于django 内置对 MongoDB 的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!