Hi,
How do I rename all the "record" nodes in a database? I'm trying:
for $x in db:open("bccdc_covid19")
return return rename node $x//record as "baz"
but this gives back
Stopped at ., 1/13: [XPDY0002] bc.rename.xq: no context value bound.
or
[XPST0003] Unexpected end of query: 'rename node $x/...'.
depending whether it's run from within the basex console.
thanks,
Nick