We use the BaseX REST API from a Java problem to add and update documents in BaseX.
Geoff Alexander, Ph.D. Software Engineer, Corporate Tools Development IBM Corporation Charlotte, NC
From: "Christian Grün" christian.gruen@gmail.com To: Geoff Alexander gdlxn@us.ibm.com Cc: BaseX basex-talk@mailman.uni-konstanz.de Date: 07/16/2020 03:07 PM Subject: [EXTERNAL] Re: Possible bug in database size (bytes) after database optimize from BaseX Database Administration
(2) Update one or of the database's entries.
If I replace the document via the DBA, or if I run an update expression via the Queries Panel, the count always reflects the number of resources, it doesn’t change.
How did you update the document? Is it an XML document or a binary file you updated? Maybe I have a misundertanding in what the Optimize button on the BaseX Database Administration's Database page actually does.
Feel free to have a look into our documentation [1].