benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

How to retreive db info with cochbeam? #31

Closed matteoredaelli closed 14 years ago

matteoredaelli commented 14 years ago

Hello,

I would like to retreive with couchbeam library the info you can get with an http get request to http://localhost:5984/ebot I {"db_name":"ebot","doc_count":78849,"doc_del_count":0,"update_seq":250253,"purge_seq":0,"compact_running":false,"disk_size":2061390268,"instance_start_time":"1273908892926024","disk_format_version":4}

is it possible? how?

Thanks in advance Matteo http://www.redaelli.org/matteo/blog/projects/ebot is it possibile> w

benoitc commented 14 years ago

couch_db:info(Db) :)