diff options
Diffstat (limited to 'src/fabric/src/fabric_rpc.erl')
-rw-r--r-- | src/fabric/src/fabric_rpc.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fabric/src/fabric_rpc.erl b/src/fabric/src/fabric_rpc.erl index e538a9dbe..20bca0eb5 100644 --- a/src/fabric/src/fabric_rpc.erl +++ b/src/fabric/src/fabric_rpc.erl @@ -18,7 +18,7 @@ -export([all_docs/3, changes/3, map_view/4, reduce_view/4, group_info/2]). -export([create_db/1, create_db/2, delete_db/1, reset_validation_funs/1, set_security/3, set_revs_limit/3, create_shard_db_doc/2, - delete_shard_db_doc/2]). + delete_shard_db_doc/2, get_partition_info/2]). -export([get_all_security/2, open_shard/2]). -export([compact/1, compact/2]). @@ -167,6 +167,9 @@ get_db_info(DbName) -> get_db_info(DbName, DbOptions) -> with_db(DbName, DbOptions, {couch_db, get_db_info, []}). +get_partition_info(DbName, Partition) -> + with_db(DbName, [], {couch_db, get_partition_info, [Partition]}). + %% equiv get_doc_count(DbName, []) get_doc_count(DbName) -> get_doc_count(DbName, []). |