zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #19338
[Merge] lp:~zorba-coders/zorba/couchbase-module_null into lp:zorba/couchbase-module
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/couchbase-module_null into lp:zorba/couchbase-module.
Requested reviews:
William Candillon (wcandillon)
Matthias Brantner (matthias-brantner)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/couchbase-module_null/+merge/155128
--
https://code.launchpad.net/~zorba-coders/zorba/couchbase-module_null/+merge/155128
Your team Zorba Coders is subscribed to branch lp:zorba/couchbase-module.
=== modified file 'test/Queries/couchbase_module/view.xq'
--- test/Queries/couchbase_module/view.xq 2013-03-24 03:48:26 +0000
+++ test/Queries/couchbase_module/view.xq 2013-03-24 05:28:20 +0000
@@ -14,5 +14,6 @@
variable $view-name := cb:create-view($instance, $cb-document, $cb-view, {"key":"doc.view"});
variable $data := cb:view($instance, $view-name, {"stale" : "false"});
for $d in jn:members($data("rows"))
-where $d("key") >0
+let $key := $d("key")
+where not(jn:is-null($key)) and $key >0
return $d
Follow ups