Hi,
I just noticed that when I use a db that is opened this way, I cannot do updates anymore.
Example: declare variable $_:PUB := db:open('PUB') update {};
Then, inside updating function:
let $sec := $_:PUB//Section[@Guid = $id] return replace node trace($sec) with <Section>changed</Section>
There is no error whatsoever, the update simply doesnt happen. (BaseX 8.4.4)
Bug?
Regards, Max