16
by Juan Zacarias
Added tests for views, added some examples of use for the couchbase module |
1 |
import module namespace cb = "http://www.zorba-xquery.com/modules/couchbase"; |
2 |
||
3 |
variable $instance := cb:connect({ |
|
4 |
"host": "localhost:8091", |
|
34.2.3
by Matthias Brantner
adapted tests to new syntax and semantic |
5 |
"username" : jn:null(), |
6 |
"password" : jn:null(), |
|
16
by Juan Zacarias
Added tests for views, added some examples of use for the couchbase module |
7 |
"bucket" : "default"}); |
8 |
||
9 |
variable $view-name := cb:create-view($instance, "dev_view", ("test1", "test2")); |
|
10 |
$view-name |