0

I would like to use another platform than mongodb with mongoose.

I used mongoose in my school project, and my school ask me to have a multiple database project.

Any idea ? I don't want to duplicate my code..

Thanks

4

2 回答 2

2

Mongoose is MongoDB-specific as the website says:

elegant mongodb object modeling for node.js

so it's not possible to use it with another NoSQL tool.

于 2015-09-03T15:23:56.900 回答
0

CosmosDB from Azure is compatible with Mongoose and I have used this setup.

TingoDB claims to be compatible too using an additional driver called Tingus.

NeDB claims "its API is a subset of the MongoDB API" so there may be some compatibility with Mongoose too.

There may be other projects out there.

于 2021-01-02T01:33:30.647 回答