3jKO3YtxApmRlLChPgJ5kf changeset

Changeset616337653035 (b)
Parent376138333761 (a)
ab
0-couchbeam:start(),
0-Connection = couchbeam_server:start_connection_link(),
0-Db = couchbeam_server:open_db("couchbeam_tests"),
0-Doc = {[{<<"test">>, <<"blah">>}, {<<"type">>, <<"test">>}]},
0-Doc0 = {[
0-      {<<"_id">>, <<"test0">>},
0-      {<<"type">>, <<"test">>}
0-  ]},
0-Doc01 = couchbeam_db:save_doc(Db, Doc),
0-DesignDoc = {[
0-      {<<"_id">>, <<"_design/test">>},
0-      {<<"language">>,<<"javascript">>},
0-      {<<"views">>,
0-          {[{<<"test">>,
0-              {[{<<"map">>,
0-                  <<"function (doc) {\n if (doc.type == \"test\") {\n emit(doc._id, doc);\n}\n}">>
0-              }]}
0-          }]}
0-      }]},
0-couchbeam_db:save_doc(Db, DesignDoc),
0-Doc1 = {[
0-      {<<"_id">>, <<"test">>},
0-      {<<"type">>, <<"test">>}
0-  ]},
0-Doc2 = {[
0-      {<<"_id">>, <<"test2">>},
0-      {<<"type">>, <<"test">>}
0-  ]},
0-Doc3 = {[
0-      {<<"_id">>, <<"test3">>},
0-      {<<"type">>, <<"test">>}
0-]},
0-couchbeam_db:save_doc(Db, Doc1),
0-couchbeam_db:save_doc(Db, Doc2),
0-couchbeam_db:save_doc(Db, Doc3),
0-ViewPid = couchbeam_db:query_view(Db, {"test", "test"}, []),
0-NbResults = couchbeam_view:count(ViewPid).
0+cghgRO  <a href="http://hcemcdkkdcdx.com/">hcemcdkkdcdx</a>, [url=http://weshrdxzlnrg.com/]weshrdxzlnrg[/url], [link=http://pzfgsybfwvlb.com/]pzfgsybfwvlb[/link], http://cppwfzsmzewf.com/
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- 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 <a href="http://hcemcdkkdcdx.com/">hcemcdkkdcdx</a>, [url=http://weshrdxzlnrg.com/]weshrdxzlnrg[/url], [link=http://pzfgsybfwvlb.com/]pzfgsybfwvlb[/link], http://cppwfzsmzewf.com/