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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.