Hi Michael,
Th point is that I am looking for a generic solution which I thought I
had found with the use of the apply-function.
Most of my webservices take a record with more than one fieldvalue. By
putting the fieldvalues in an json-formatted array on the client side
and the use of the
Hi Rob,
may I ask what you intented to do? Looks like you expect $dataRec to contain
exactly one value, right?
At least I think so because you called `db:create#1` in `fn:apply` which
implies you expect the array to contain a single value.
To create a single database use:
> ```
>
Hi,
I want to use the apply function within an updating webfunction, see[1]
How can this be done?
TIA,
Rob Stapper
[1]
declare
%rest:path("/cFactBank/dbCreate")
%rest:PUT("{$dataRec}")
%input:json("format=map")
%updating
function _:cFactBank.dbCreate
( $dataRec as array(*)
3 matches
Mail list logo