diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-02 12:24:34 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-06-02 12:24:34 -0400 |
commit | 0c5622473b8b2aa90b69e59293b9b23d97bc9557 (patch) | |
tree | 889cd0d9df2ef3ddd9b378f747678e4a0ba0b606 | |
parent | 10da0ab42a1902bd98ff41c85e965814f33ecc86 (diff) |
all_databases -> all_dbs, less typing ftw
-rw-r--r-- | src/fabric.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fabric.erl b/src/fabric.erl index fd26abc3..5c3e896a 100644 --- a/src/fabric.erl +++ b/src/fabric.erl @@ -1,7 +1,7 @@ -module(fabric). % DBs --export([all_databases/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/2, get_doc_count/1]). % Documents @@ -23,7 +23,10 @@ db_path(RawUri, Customer) -> {Path, _, _} = mochiweb_util:urlsplit_path(CustomerUri), Path. -all_databases(Customer) -> +all_dbs() -> + fabric_all_databases:all_databases(""). + +all_dbs(Customer) -> fabric_all_databases:all_databases(Customer). get_db_info(DbName, Customer) -> |