Hi Lars,
are you annotating your RESTXQ endpoints with %updating? F.i.:
declare
%rest:path('/somepath')
*%updating*
function _:update()
{
updates ...
};
Cheers,
Lukas
On Tue, Mar 3, 2015 at 10:36 AM, Lars Johnsen yoon...@gmail.com wrote:
Hello all
I was wondering how to perform
Hello all
I was wondering how to perform database updating, like db:add, in RESTXQ,
since the adding and updating functions throw errors when invoked inside
functions defined in RESTXQ-modules.
Have been trying to use the forward mechanism, transferring the data to a
script without functions,
Hi,
it works for me when the XQuery module resides in the repo folder,
and the RESTXQ function only calls it
inside restxq module
import module namespace coll = http://foo.org/collections;;
coll:new(some-db)
inside repo module
declare updating function _:new($name as xs:string)
{
3 matches
Mail list logo