Merge lp:~zorba-coders/zorba/couchbase_module-bug-1188063 into lp:zorba/couchbase-module

Proposed by Matthias Brantner
Status: Needs review
Proposed branch: lp:~zorba-coders/zorba/couchbase_module-bug-1188063
Merge into: lp:zorba/couchbase-module
Diff against target: 546 lines (+127/-153)
2 files modified
src/couchbase.xq (+126/-152)
src/couchbase.xq.src/couchbase.h (+1/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/couchbase_module-bug-1188063
Reviewer Review Type Date Requested Status
Chris Hillery Needs Fixing
Matthias Brantner Approve
Review via email: mp+182781@code.launchpad.net

Commit message

renamed to zorba.io and adapted documentation

To post a comment you must log in.
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue result for https://code.launchpad.net/~zorba-coders/zorba/couchbase_module-bug-1188063/+merge/182781

Stage "TestZorbaUbuntu" failed.
20 tests failed (8409 total tests run).

Check test results at http://jenkins.lambda.nu/job/TestZorbaUbuntu/253/testReport/ to view the results.

Revision history for this message
Chris Hillery (ceejatec) wrote :

This needs JSON validation too, correct?

Revision history for this message
Chris Hillery (ceejatec) wrote :

Per Matthias, validation is done in C++, so we can defer adding a JSON schema for now.

Revision history for this message
Chris Hillery (ceejatec) wrote :

Need to update error codes. Don't want to use CB0001 codes anymore.

review: Needs Fixing

Unmerged revisions

48. By Matthias Brantner

renamed and improved documentation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/couchbase.xq'
--- src/couchbase.xq 2013-08-09 09:37:05 +0000
+++ src/couchbase.xq 2013-08-28 23:18:04 +0000
@@ -1,7 +1,7 @@
1xquery version "3.0";1jsoniq version "1.0";
22
3(:3(:
4 : Copyright 2012 The FLWOR Foundation.4 : Copyright 2013 The FLWOR Foundation.
5 :5 :
6 : Licensed under the Apache License, Version 2.0 (the "License");6 : Licensed under the Apache License, Version 2.0 (the "License");
7 : you may not use this file except in compliance with the License.7 : you may not use this file except in compliance with the License.
@@ -19,9 +19,9 @@
19(:~19(:~
20 : This module provides minimal functionality to interact with the20 : This module provides minimal functionality to interact with the
21 : Couchbase NoSQL database.21 : Couchbase NoSQL database.
22 :22 : <p/>
23 : The module is built using the libcouchbase C client library and23 : The module is built using the libcouchbase C client library and
24 : exposes most of its functionality in XQuery with JSONiq extensions.24 : exposes most of its functionality.
25 : Beyond just allowing for basic key-value store operations (e.g.25 : Beyond just allowing for basic key-value store operations (e.g.
26 : put-/get-text or put-/get-binary, this module also allows to work26 : put-/get-text or put-/get-binary, this module also allows to work
27 : with Couchbase views in order to allow for complex JSON query27 : with Couchbase views in order to allow for complex JSON query
@@ -31,9 +31,8 @@
31 : @project DB Drivers/Couchbase31 : @project DB Drivers/Couchbase
32 :32 :
33 :)33 :)
34module namespace cb = "http://www.zorba-xquery.com/modules/couchbase";34module namespace cb = "http://zorba.io/modules/couchbase";
3535
36declare namespace jn = "http://jsoniq.org/functions";
37declare namespace an = "http://zorba.io/annotations";36declare namespace an = "http://zorba.io/annotations";
3837
39declare namespace ver = "http://zorba.io/options/versioning";38declare namespace ver = "http://zorba.io/options/versioning";
@@ -55,11 +54,11 @@
55 :)54 :)
5655
57declare %an:sequential function cb:connect(56declare %an:sequential function cb:connect(
58 $host as xs:string, 57 $host as string,
59 $username as xs:string?, 58 $username as string?,
60 $password as xs:string?, 59 $password as string?,
61 $bucket as xs:string)60 $bucket as string)
62 as xs:anyURI61 as anyURI
63{62{
64 cb:connect({"host" : $host, 63 cb:connect({"host" : $host,
65 "username" : $username,64 "username" : $username,
@@ -71,13 +70,8 @@
71 : Connect to the Couchbase server and return an opaque identifier70 : Connect to the Couchbase server and return an opaque identifier
72 : representing the established connection.71 : representing the established connection.
73 :72 :
74 : @param $options a JSONiq object that contains the host, bucket,73 : @param $options an object that contains the host (mandatory),
75 : and user information.74 : bucket (mandatory), username, and password.
76 :
77 : @option "host" endpoint of the Couchbase server (mandatory)
78 : @option "username" username used for the connection (optional)
79 : @option "password" password used for the connection (optional)
80 : @option "bucket" name of an existing bucket (mandatory)
81 :75 :
82 : @error cb:LCB0001 if the connection to the given host/bucket76 : @error cb:LCB0001 if the connection to the given host/bucket
83 : could not be established.77 : could not be established.
@@ -85,22 +79,12 @@
85 : @error cb:CB0007 if a given option is not supported.79 : @error cb:CB0007 if a given option is not supported.
86 :80 :
87 : @return an identifier for the established connection.81 : @return an identifier for the established connection.
88 :
89 : Example:
90 : <code>
91 : {
92 : "host": "localhost:8091",
93 : "username" : null,
94 : "password" : null,
95 : "bucket" : "default"
96 : }
97 : </code>
98 :)82 :)
99declare %an:sequential function cb:connect($options as object())83declare %an:sequential function cb:connect($options as object)
100 as xs:anyURI external;84 as anyURI external;
10185
102(:~86(:~
103 : Return the values of the given keys (type xs:string) as string.87 : Return the values of the given keys as string.
104 : 88 :
105 : @param $db connection reference89 : @param $db connection reference
106 : @param $key the requested keys90 : @param $key the requested keys
@@ -108,43 +92,39 @@
108 : @error cb:LCB0002 if any error occurs in the communication with92 : @error cb:LCB0002 if any error occurs in the communication with
109 : the server.93 : the server.
110 :94 :
111 : @return A sequence of string Items corresponding to the key95 : @return A sequence of strings.
112 :)96 :)
11397
114declare %an:sequential function cb:get-text(98declare %an:sequential function cb:get-text(
115 $db as xs:anyURI,99 $db as anyURI,
116 $key as xs:string*)100 $key as string*)
117as xs:string* external;101as string* external;
118102
119(:~103(:~
120 : Return the values of the given keys (type xs:string) as string.104 : Return the values of the given keys as string.
121 : 105 :
122 : @param $db connection reference106 : @param $db connection reference
123 : @param $key the requested keys107 : @param $key the requested keys
124 : @param $options JSONiq object with additional options108 : @param $options an object specifying the expiration-time (integer)
109 : or encoding (string; default is UTF-8).
125 :110 :
126 : @option "expiration-time" xs:integer value for refreshing the expiration
127 : time in seconds.
128 : @option "encoding" string with the name of the encoding of the returned
129 : string (if not UTF-8).
130 :
131 : @error cb:LCB0002 if any error occurs in the communication with111 : @error cb:LCB0002 if any error occurs in the communication with
132 : the server.112 : the server.
133 : @error cb:CB0006 if the given encoding is not supported.113 : @error cb:CB0006 if the given encoding is not supported.
134 : @error cb:CB0007 if any of the options is not supported.114 : @error cb:CB0007 if any of the options is not supported.
135 : @error cb:CB0009 if the given expiration time is not an xs:integer.115 : @error cb:CB0009 if the given expiration time is not an integer.
136 :116 :
137 : @return a sequence of strings for the given keys.117 : @return a sequence of strings for the given keys.
138 :)118 :)
139119
140declare %an:sequential function cb:get-text(120declare %an:sequential function cb:get-text(
141 $db as xs:anyURI,121 $db as anyURI,
142 $key as xs:string*,122 $key as string*,
143 $options as object())123 $options as object)
144as xs:string* external;124as string* external;
145125
146(:~126(:~
147 : Return the values of the given keys (type xs:string) as base64Binary.127 : Return the values of the given keys as base64Binary.
148 : 128 :
149 : @param $db connection reference129 : @param $db connection reference
150 : @param $key the requested keys130 : @param $key the requested keys
@@ -152,91 +132,90 @@
152 : @error cb:LCB0002 if any error occurs in the communication with132 : @error cb:LCB0002 if any error occurs in the communication with
153 : the server.133 : the server.
154 :134 :
155 : @return a sequence of xs:base64Binary items for the given keys.135 : @return a sequence of base64Binary items for the given keys.
156 :)136 :)
157declare %an:sequential function cb:get-binary(137declare %an:sequential function cb:get-binary(
158 $db as xs:anyURI,138 $db as anyURI,
159 $key as xs:string*)139 $key as string*)
160as xs:base64Binary* external;140as base64Binary* external;
161141
162(:~142(:~
163 : Return the values of the given keys (type xs:string) as base64Binary.143 : Return the values of the given keys as base64Binary.
164 : 144 :
165 : @param $db connection reference145 : @param $db connection reference
166 : @param $key the requested keys146 : @param $key the requested keys
167 : @param $options JSONiq object with additional options147 : @param $options an object with specyfing the expiration-time (integer).
168 :148 :
169 : @option "expiration-time" xs:integer value for refreshing the expiration
170 : time in seconds.
171 :
172 : @error cb:LCB0002 if any error occurs in the communication with149 : @error cb:LCB0002 if any error occurs in the communication with
173 : the server.150 : the server.
174 : @error cb:CB0007 if any of the options is not supported.151 : @error cb:CB0007 if any of the options is not supported.
175 : @error cb:CB0009 if the given expiration time is not an xs:integer.152 : @error cb:CB0009 if the given expiration time is not an integer.
176 :153 :
177 : @return a sequence of xs:base64Binary items for the given keys.154 : @return a sequence of base64Binary items for the given keys.
178 :)155 :)
179declare %an:sequential function cb:get-binary(156declare %an:sequential function cb:get-binary(
180 $db as xs:anyURI,157 $db as anyURI,
181 $key as xs:string*,158 $key as string*,
182 $options as object())159 $options as object)
183as xs:base64Binary* external;160as base64Binary* external;
184161
185(:~162(:~
186 : Remove the values matching the given keys (xs:string) from the server.163 : Remove the values matching the given keys.
187 :164 :
188 : @param $db connection reference165 : @param $db connection reference
189 : @param $key the keys of the values that should be removed.166 : @param $key the keys of the values that should be removed.
190 :167 :
191 : @error cb:LCB0002 if any error occurs in the communication with168 : @error cb:LCB0002 if any error occurs in the communication with
192 : the server.169 : the server.
170 :
193 : @return a empty sequence.171 : @return a empty sequence.
194 :)172 :)
195declare %an:sequential function cb:remove($db as xs:anyURI, $key as xs:string*)173declare %an:sequential function cb:remove($db as anyURI, $key as string*)
196 as empty-sequence() external;174 as () external;
197175
198(:~176(:~
199 : Store the given key-value bindings.177 : Store the given key-value bindings.
200 :178 : <p/>
201 : The values are stored with the UTF-8 encoding and a default179 : The values are stored with the UTF-8 encoding and a default
202 : expiration time of 60 seconds.180 : expiration time of 60 seconds.
203 :181 :
204 : @param $db connection reference182 : @param $db connection reference
205 : @param $key the keys to store183 : @param $key the keys to store
206 : @param $value the values (as xs:string) to be stored.184 : @param $value the values to be stored.
207 :185 :
208 : @error cb:LCB0002 if any error occurs in the communication with186 : @error cb:LCB0002 if any error occurs in the communication with
209 : the server.187 : the server.
210 : @error cb:CB0005 if the number of keys doesn't match the number188 : @error cb:CB0005 if the number of keys doesn't match the number
211 : of values.189 : of values.
190 :
212 : @return a empty sequence.191 : @return a empty sequence.
213 :) 192 :)
214declare %an:sequential function cb:put-text(193declare %an:sequential function cb:put-text(
215 $db as xs:anyURI,194 $db as anyURI,
216 $key as xs:string*,195 $key as string*,
217 $value as xs:string*)196 $value as string*)
218as empty-sequence()197 as ()
219{198{
220 cb:put-text($db, $key, $value, { "expiration-time" : 60, "encoding" : "UTF-8" })199 cb:put-text($db, $key, $value, { "expiration-time" : 60, "encoding" : "UTF-8" })
221};200};
222201
223(:~202(:~
224 : Store the given key-value bindings.203 : Store the given key-value bindings.
204 : <p/>
205 : Available options:
206 : <ul>
207 : <li>"expiration-time" integer value that represent the : expiration time in seconds.</li>
208 : <li>"operation" type of operation, possible values are : "add", "replace", "set", "append" and "prepend".</li>
209 : <li>"encoding" the encoding that should be used for the : value (default is UTF-8).</li>
210 : <li>"wait" variable for setting if a wait for persistancy in
211 : the storing key is needed, possible values are "persist" and "false".</li>
212 : </ul>
225 :213 :
226 : @param $db connection reference214 : @param $db connection reference
227 : @param $key the keys to store215 : @param $key the keys to store
228 : @param $value the values (as xs:string) to be stored.216 : @param $value the values (as string) to be stored.
229 : @param $options JSONiq object with additional options217 : @param $options an object with additional options
230 :218 :
231 : @option "expiration-time" integer value that represent the
232 : expiration time in seconds.
233 : @option "operation" type of operation, possible values are
234 : "add", "replace", "set", "append" and "prepend".
235 : @option "encoding" the encoding that should be used for the
236 : value (default is UTF-8).
237 : @option "wait" variable for setting if a wait for persistancy in
238 : the storing key is needed, possible values are "persist"
239 : and "false".
240 : 219 :
241 : @error cb:LCB0002 if any error occurs in the communication with220 : @error cb:LCB0002 if any error occurs in the communication with
242 : the server.221 : the server.
@@ -244,24 +223,24 @@
244 : of values.223 : of values.
245 : @error cb:CB0006 if the given encoding is not supported.224 : @error cb:CB0006 if the given encoding is not supported.
246 : @error cb:CB0007 if any of the options is not supported.225 : @error cb:CB0007 if any of the options is not supported.
247 : @error cb:CB0009 if the given expiration time is not an xs:integer. 226 : @error cb:CB0009 if the given expiration time is not an integer.
248 : @error cb:CB0011 if the stored Variable was not stored227 : @error cb:CB0011 if the stored Variable was not stored
249 :228 :
250 : @return a empty sequence.229 : @return a empty sequence.
251 :) 230 :)
252declare %an:sequential function cb:put-text(231declare %an:sequential function cb:put-text(
253 $db as xs:anyURI,232 $db as anyURI,
254 $key as xs:string*,233 $key as string*,
255 $value as xs:string*,234 $value as string*,
256 $options as object())235 $options as object)
257 as empty-sequence() external;236 as () external;
258237
259(:~238(:~
260 : Store the given key-value bindings.239 : Store the given key-value bindings.
261 :240 :
262 : @param $db connection reference241 : @param $db connection reference
263 : @param $key the keys to store242 : @param $key the keys to store
264 : @param $value the values (as xs:base64binary) to be stored.243 : @param $value the values (as base64binary) to be stored.
265 :244 :
266 : @error cb:LCB0002 if any error occurs in the communication with245 : @error cb:LCB0002 if any error occurs in the communication with
267 : the server.246 : the server.
@@ -271,10 +250,10 @@
271 : @return a empty sequence.250 : @return a empty sequence.
272 :) 251 :)
273declare %an:sequential function cb:put-binary(252declare %an:sequential function cb:put-binary(
274 $db as xs:anyURI,253 $db as anyURI,
275 $key as xs:string*,254 $key as string*,
276 $value as xs:base64Binary*)255 $value as base64Binary*)
277as empty-sequence() 256 as ()
278{257{
279 cb:put-binary($db, $key, $value, { "expiration-time" : 60 })258 cb:put-binary($db, $key, $value, { "expiration-time" : 60 })
280};259};
@@ -284,8 +263,8 @@
284 :263 :
285 : @param $db connection reference264 : @param $db connection reference
286 : @param $key the keys to store265 : @param $key the keys to store
287 : @param $value the values (as xs:base64binary) to be stored.266 : @param $value the values (as base64binary) to be stored.
288 : @param $options JSONiq object with additional options267 : @param $options an object with additional options
289268
290 : @option "expiration-time" integer value that represent the 269 : @option "expiration-time" integer value that represent the
291 : expiration time in seconds.270 : expiration time in seconds.
@@ -300,17 +279,17 @@
300 : @error cb:CB0005 if the number of keys doesn't match the number279 : @error cb:CB0005 if the number of keys doesn't match the number
301 : of values.280 : of values.
302 : @error cb:CB0007 if any of the options is not supported.281 : @error cb:CB0007 if any of the options is not supported.
303 : @error cb:CB0009 if the given expiration time is not an xs:integer.282 : @error cb:CB0009 if the given expiration time is not an integer.
304 : @error cb:CB0011 if the stored Variable was not stored283 : @error cb:CB0011 if the stored Variable was not stored
305 :284 :
306 : @return a empty sequence.285 : @return a empty sequence.
307 :) 286 :)
308declare %an:sequential function cb:put-binary(287declare %an:sequential function cb:put-binary(
309 $db as xs:anyURI,288 $db as anyURI,
310 $key as xs:string*,289 $key as string*,
311 $value as xs:base64Binary*,290 $value as base64Binary*,
312 $options as object())291 $options as object)
313as empty-sequence() external;292 as () external;
314293
315294
316(:~295(:~
@@ -323,8 +302,8 @@
323 :302 :
324 : @return a empty sequence.303 : @return a empty sequence.
325 :)304 :)
326declare %an:sequential function cb:flush($db as xs:anyURI)305declare %an:sequential function cb:flush($db as anyURI)
327as empty-sequence() external;306as () external;
328307
329(:~308(:~
330 : Refresh the expiration time of the given keys.309 : Refresh the expiration time of the given keys.
@@ -339,10 +318,10 @@
339 : @return a empty sequence.318 : @return a empty sequence.
340 :)319 :)
341declare %an:sequential function cb:touch(320declare %an:sequential function cb:touch(
342 $db as xs:anyURI,321 $db as anyURI,
343 $key as xs:string*,322 $key as string*,
344 $exp-time as xs:integer)323 $exp-time as integer)
345as empty-sequence() external; 324 as () external;
346325
347(:~326(:~
348 : Retrieve the content of existing views.327 : Retrieve the content of existing views.
@@ -356,14 +335,14 @@
356 :335 :
357 : @return a sequence of strings (as JSON) containing information of the views.336 : @return a sequence of strings (as JSON) containing information of the views.
358 :)337 :)
359declare %an:sequential function cb:view($db as xs:anyURI, $path as xs:string*)338declare %an:sequential function cb:view($db as anyURI, $path as string*)
360 as object()*339 as object*
361{340{
362 jn:parse-json(cb:view-text($db, $path))341 jn:parse-json(cb:view-text($db, $path))
363};342};
364343
365declare %private %an:sequential function cb:view-text($db as xs:anyURI, $path as xs:string*)344declare %private %an:sequential function cb:view-text($db as anyURI, $path as string*)
366 as xs:string* external;345 as string* external;
367346
368347
369(:~348(:~
@@ -372,7 +351,7 @@
372 : @param $db connection reference351 : @param $db connection reference
373 : @param $path contains the string of a view path 352 : @param $path contains the string of a view path
374 : (e.g. "_design/test/_view/vies").353 : (e.g. "_design/test/_view/vies").
375 : @param $options JSONiq object with additional options354 : @param $options an object with additional options
376 :355 :
377 : @option Json object whith options for the querying the view. available options:356 : @option Json object whith options for the querying the view. available options:
378 : "encoding" string with the name of the encoding of the returned357 : "encoding" string with the name of the encoding of the returned
@@ -394,24 +373,23 @@
394 : @return a sequence of strings (as JSON) containing information of the views.373 : @return a sequence of strings (as JSON) containing information of the views.
395 :)374 :)
396declare %an:sequential function cb:view(375declare %an:sequential function cb:view(
397 $db as xs:anyURI,376 $db as anyURI,
398 $path as xs:string*,377 $path as string*,
399 $options as object())378 $options as object)
400as object()*379 as object*
401{380{
402 jn:parse-json(cb:view-text($db, $path, $options))381 jn:parse-json(cb:view-text($db, $path, $options))
403};382};
404383
405declare %private %an:sequential function cb:view-text(384declare %private %an:sequential function cb:view-text(
406 $db as xs:anyURI,385 $db as anyURI,
407 $path as xs:string*,386 $path as string*,
408 $options as object())387 $options as object)
409as xs:string* external; 388 as string* external;
410
411389
412(:~390(:~
413 : Create a document/view.391 : Create a document/view.
414 392 : <p/>
415 : If the document already exists, it is replaced. A document can hold several393 : If the document already exists, it is replaced. A document can hold several
416 : views that must be specified in the same call of cb:create-view. 394 : views that must be specified in the same call of cb:create-view.
417 :395 :
@@ -426,34 +404,31 @@
426 : created.404 : created.
427 :)405 :)
428declare %an:sequential function cb:create-view(406declare %an:sequential function cb:create-view(
429 $db as xs:anyURI,407 $db as anyURI,
430 $doc-name as xs:string,408 $doc-name as string,
431 $view-names as xs:string*)409 $view-names as string*)
432as xs:string* external;410 as string* external;
433411
434(:~412(:~
435 : Create a document/view.413 : Create a document/view.
436 414 : <p/>
437 : If the document already exists, it is replaced. A document can hold several415 : If the document already exists, it is replaced. A document can have several
438 : views that must be specified in the same call of cb:create-view. 416 : views that must be specified in the same call of cb:create-view.
417 : <p/>
418 : The following options can be specified:
419 : <ul>
420 : <li>"key": name of the key displayed in the resulting object.</li>
421 : <li>"values" a string or array of strings containing the values
422 : that should be contained in the resulting object.</li>
423 : <li>"function" the javascript map function of the view. If present,
424 : the "key" and "values" options are ignored.</li>
425 : </ul>
439 :426 :
440 : @param $db connection reference427 : @param $db connection reference
441 : @param $doc-name name of the document to create.428 : @param $doc-name name of the document to create.
442 : @param $view-names names of the views to create in the document.429 : @param $view-names names of the views to create in the document.
443 : @param $options options describing how to create the view.430 : @param $options options describing how to create the view.
444 :431 :
445 : @option "key" value must be a string containing the name of the value
446 : in the json object stored in couchbase that is wanted to be
447 : displayed as the value of "key" in the resulting json.
448 : @option "values" value must be a string or an array of strings containing
449 : the name of the value in the json object stored in couchbase that
450 : is wanted to be displayed as the value of "value" in the resulting
451 : json.
452 : @option "function" string with a javascript function describing the
453 : map function of the view. cb:create-view won't throw an error
454 : if the javascript function is not compilable or functional. If
455 : this option is set the "key" and "values" options are ignored.
456 :
457 : @error cb:LCB0002 if any error occurs in the communication with432 : @error cb:LCB0002 if any error occurs in the communication with
458 : the server.433 : the server.
459 : @error cb:CB0005 if the number of options doesn't match the number of434 : @error cb:CB0005 if the number of options doesn't match the number of
@@ -465,18 +440,17 @@
465 : created.440 : created.
466 :)441 :)
467declare %an:sequential function cb:create-view(442declare %an:sequential function cb:create-view(
468 $db as xs:anyURI,443 $db as anyURI,
469 $doc-name as xs:string,444 $doc-name as string,
470 $view-names as xs:string*,445 $view-names as string*,
471 $options as object()*)446 $options as object*)
472as xs:string* external;447 as string* external;
473
474448
475(:~449(:~
476 : Delete a document/view.450 : Delete a document/view.
477 451 : <p/>
478 : If the document doesn't exists, function does nothing. All the views hold in the452 : If the document doesn't exists, function does nothing. All the views hold in the
479 : Document are deleted, this function can't delete single views. 453 : document are deleted, this function can't delete single views.
480 :454 :
481 : @param $db connection reference455 : @param $db connection reference
482 : @param $doc-name name of the document to create.456 : @param $doc-name name of the document to create.
@@ -487,6 +461,6 @@
487 : @return empty sequence.461 : @return empty sequence.
488 :)462 :)
489declare %an:sequential function cb:delete-view(463declare %an:sequential function cb:delete-view(
490 $db as xs:anyURI,464 $db as anyURI,
491 $doc as xs:string*)465 $doc as string*)
492as xs:string* external;466 as string* external;
493467
=== modified file 'src/couchbase.xq.src/couchbase.h'
--- src/couchbase.xq.src/couchbase.h 2013-01-21 22:42:49 +0000
+++ src/couchbase.xq.src/couchbase.h 2013-08-28 23:18:04 +0000
@@ -24,7 +24,7 @@
24#include <zorba/function.h>24#include <zorba/function.h>
25#include <zorba/dynamic_context.h>25#include <zorba/dynamic_context.h>
2626
27#define COUCHBASE_MODULE_NAMESPACE "http://www.zorba-xquery.com/modules/couchbase"27#define COUCHBASE_MODULE_NAMESPACE "http://zorba.io/modules/couchbase"
2828
29namespace zorba { namespace couchbase {29namespace zorba { namespace couchbase {
3030

Subscribers

People subscribed via source and target branches

to all changes: