Multiple databases with eve

时间:2016-08-31 12:09:47

标签: mongodb elasticsearch neo4j swagger eve

I am new to eve and did not use it yet, but it looks very promising as I like flask a lot.

What would be the best way to go, when I try to work on multiple different databases (mongodb, elasticsearch and neo4j).

Would it be best to start several eve services as mentioned over here? https://github.com/nicolaiarocci/eve/issues/848

Or is there yet a way to configure it, like for multiple mongodb instances? http://python-eve.org/config.html

I like to avoid multiple eves as I also want to generate one swagger api.

So what would be a good way to go in that case?

1 个答案:

答案 0 :(得分:2)

不支持从单个Eve实例提供的多个数据存储类型。你应该走另一条路。