summaryrefslogtreecommitdiff
path: root/src/fabric.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-05-27 15:45:08 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-05-27 15:45:08 -0400
commit408cf4c2f0d7fcf0fa35e4b9e28a8ac86c5c4fcd (patch)
treedbd5a5fe19a854182907833bc2fa90c0646669bc /src/fabric.erl
parente91bbf3d70eefdd44c123e06c12e0b9ab498a791 (diff)
export the right stuff for open_doc
Diffstat (limited to 'src/fabric.erl')
-rw-r--r--src/fabric.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fabric.erl b/src/fabric.erl
index a54264dc..15269bbb 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -1,6 +1,6 @@
-module(fabric).
--export([all_databases/1, create_db/2, delete_db/2, open_db/2, open_doc/4,
+-export([all_databases/1, create_db/2, delete_db/2, open_doc/3, open_doc/4,
get_db_info/2]).
%% maybe this goes away, and these are called directly in their own modules in
@@ -15,8 +15,8 @@ create_db(DbName, Options) ->
delete_db(DbName, Options) ->
fabric_delete:delete_db(DbName, Options).
-open_db(DbName, Options) ->
- fabric_open:open_db(DbName, Options).
+open_doc(Db, DocId, Options) ->
+ fabric_doc:open_doc(Db, DocId, Options).
open_doc(Db, DocId, Revs, Options) ->
fabric_open:open_doc(Db, DocId, Revs, Options).