Hi John,
all branches of your if expression must be updating, or return an
empty sequence. In the latest snapshot [1], I’ve replaced the old
error message with a more helpful one (“all expressions must be
updating or return an empty sequence.”).
To come back to your query: The following query wil
Dear Team,
I am getting error - If expression : no updating expression allowed -
while trying to update the "Data" DB.
I need to update the DB, if it is not already updated...
for $c in doc('2012')/Docs/Doc/No/@n
return
if
(string-length(doc('Data')/Docs/Doc[No/@n=$c]/Title/Name/t
2 matches
Mail list logo