Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top