diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-09 14:02:21 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-06-09 14:02:21 -0400 |
commit | e8c43b1e8e6f5393e579ae9e015c5b7c282dbf2a (patch) | |
tree | a04ba95499671bb7b4597b6783993129607fb7a5 /src/fabric.erl | |
parent | 44380d7ac0b135fa2d6107cf784a99a1efd393e6 (diff) |
rewrite fabric_db_info
Diffstat (limited to 'src/fabric.erl')
-rw-r--r-- | src/fabric.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fabric.erl b/src/fabric.erl index 80646561..e4887953 100644 --- a/src/fabric.erl +++ b/src/fabric.erl @@ -1,7 +1,7 @@ -module(fabric). % DBs --export([all_dbs/0, all_dbs/1, create_db/2, delete_db/2, get_db_info/2, +-export([all_dbs/0, all_dbs/1, create_db/2, delete_db/2, get_db_info/1, get_doc_count/1]). % Documents @@ -29,8 +29,8 @@ all_dbs() -> all_dbs(Customer) -> fabric_all_databases:all_databases(Customer). -get_db_info(DbName, Customer) -> - fabric_db_info:get_db_info(dbname(DbName), Customer). +get_db_info(DbName) -> + fabric_db_info:go(dbname(DbName)). get_doc_count(DbName) -> fabric_db_doc_count:go(dbname(DbName)). |