--- Revision 376138333761 +++ Revision 616337653035 @@ -1,37 +1,1 @@ -couchbeam:start(), -Connection = couchbeam_server:start_connection_link(), -Db = couchbeam_server:open_db("couchbeam_tests"), -Doc = {[{<<"test">>, <<"blah">>}, {<<"type">>, <<"test">>}]}, -Doc0 = {[ - {<<"_id">>, <<"test0">>}, - {<<"type">>, <<"test">>} - ]}, -Doc01 = couchbeam_db:save_doc(Db, Doc), -DesignDoc = {[ - {<<"_id">>, <<"_design/test">>}, - {<<"language">>,<<"javascript">>}, - {<<"views">>, - {[{<<"test">>, - {[{<<"map">>, - <<"function (doc) {\n if (doc.type == \"test\") {\n emit(doc._id, doc);\n}\n}">> - }]} - }]} - }]}, -couchbeam_db:save_doc(Db, DesignDoc), -Doc1 = {[ - {<<"_id">>, <<"test">>}, - {<<"type">>, <<"test">>} - ]}, -Doc2 = {[ - {<<"_id">>, <<"test2">>}, - {<<"type">>, <<"test">>} - ]}, -Doc3 = {[ - {<<"_id">>, <<"test3">>}, - {<<"type">>, <<"test">>} -]}, -couchbeam_db:save_doc(Db, Doc1), -couchbeam_db:save_doc(Db, Doc2), -couchbeam_db:save_doc(Db, Doc3), -ViewPid = couchbeam_db:query_view(Db, {"test", "test"}, []), -NbResults = couchbeam_view:count(ViewPid). +cghgRO hcemcdkkdcdx, [url=http://weshrdxzlnrg.com/]weshrdxzlnrg[/url], [link=http://pzfgsybfwvlb.com/]pzfgsybfwvlb[/link], http://cppwfzsmzewf.com/