如何使用CouchDB作为MeteorJS应用程序的后端数据库,而不是默认的MongoDB? [英] How do I use CouchDB as backend database to a MeteorJS app, instead of the default MongoDB?

查看:70
本文介绍了如何使用CouchDB作为MeteorJS应用程序的后端数据库,而不是默认的MongoDB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确实想使用 CouchDB ,并可能将 Meteor 应用程序通过 Meteor发布和订阅获取数据更新。但是似乎无法弄清楚如何将 Meteor 应用程序与CouchDB 而不是默认 MongoDB 。请帮忙。

Really would like to use CouchDB, and maybe make the Meteor app get data updates via Meteor Publish and Subscribe. But can't seem to figure out how to connect the Meteor app with CouchDB instead of the default MongoDB. Please help.

推荐答案

现在,您可以将CouchDb与Meteor结合使用,以替代MongoDB。 Cloudant的家伙已经从Meteor创建了Couchdb集成。

Now you can use CouchDb with Meteor as a drop in replacement for MongoDB. The guys at Cloudant have create Couchdb integration from Meteor.

最好的是,它的API与Meteor中的Mongo相似。
这是软件包和详细信息: https://github.com/cloudant/meteor-couchdb /

Best thing is that its API resembles to that on Mongo in Meteor. Here is the package and details : https://github.com/cloudant/meteor-couchdb/

享受:)

这篇关于如何使用CouchDB作为MeteorJS应用程序的后端数据库,而不是默认的MongoDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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