3 Mar
2015
3 Mar
'15
11:18 a.m.
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 <yoonsen@gmail.com> wrote:
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, with no success.
Best, Lars G Johnsen