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


Inactive hide details for "Christian Grün" ---07/16/2020 03:07:08 PM---> > (2) Update one or of the database's entries."Christian Grün" ---07/16/2020 03:07:08 PM---> > (2) Update one or of the database's entries.

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





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?
Feel free to have a look into our documentation [1].

[1] https://docs.basex.org/wiki/Commands#OPTIMIZE