basex function on db:store
Friday, 24 June 2016 · 2 messages
WG
Wang, Genneva24 Jun 2016 02:01 #
Hi Basex guru,
I understand that db:store and db:replace would replace the file for if the path already exist, I’m wondering if there is any other functions that would do the check on the path and provides an error code if path exists instead of just replace it ?
Or do we need to check this specifically with db:exist ? Thanks!
Regards,
-Genneva
ML
Marco Lettere24 Jun 2016 07:58 #
Hi,
please have a look at [1].
The database module is rather comprehensive.
Regards,
Marco.
[ 1] http://docs.basex.org/wiki/Database_Module#Helper_Functions
Quoted text · Genneva · 13 lines
Il 24 giu 2016 2:01 AM, "Wang, Genneva" <genneva.wang at sap.com> ha scritto: > Hi Basex guru, > > I understand that db:store and db:replace would replace the file for if > the path already exist, I’m wondering if there is any other functions that > would do the check on the path and provides an error code if path exists > instead of just replace it ? > > Or do we need to check this specifically with db:exist ? Thanks! > > Regards, > -Genneva >
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery