--- Revision 333938623565 +++ Revision 373466306538 @@ -1,4 +1,4 @@ -Connection = couchbeam_connection:start_connection_link(#couchdb_params{host="127.0.0.1", port=5984}), -Db = couchbeam_connection:open_db(Connection,DbName), +Connection = couchbeam_server:start_connection_link(#couchdb_params{host="127.0.0.1", port=5984}), +Db = couchbeam_server:open_db(Connection,DbName), Doc = {{[<<"somefield">>, <<"somevalue">>]}}, Doc1 = couchbeam_db:save_doc(Db, Doc),