質問

I'm running Windows and I want to control a NoSql DB (Berkeley or CouchDB) from an Erlang program.

Has anyone done it? I really can't find any example

役に立ちましたか?

解決

CouchDB is controlled via HTTP (REST, specifically) so not only does it not matter if you are running Windows, but it doesn't even matter that you're running Erlang. You need no special tools or drivers in order to make HTTP requests from Erlang to CouchDB. The CouchDB documentation is very clear on how to interact with CouchDB via REST.

If you want to communicate via Erlang messages, check out couchbeam: https://github.com/benoitc/couchbeam. As you might know, CouchDB is written in Erlang, so you can interact with it by sending it Erlang messages.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top