4 Jul
2019
4 Jul
'19
4:39 p.m.
Hi BaseX team, I wonder why I can't use admin:write-log as output of an updating function Using ... return if(file:is-file($path)) then ( try { file:delete($path) } catch * { admin:write-log('Could not delete image file ' || $path) (: works with update:output('...'):) } , delete node $img ) else ( delete node $img ) I get the error *Expressions must all be updating or return an empty sequence.* Kind regards -- Markus Wittenberg Tel +49 (0)341 248 475 36 Mail wittenberg@axxepta.de ---- axxepta solutions GmbH Lehmgrubenweg 17, 88131 Lindau Amtsgericht Berlin HRB 97544B Geschäftsführer: Karsten Becke, Maximilian Gärber