Dear all at BaseX,
How can I know the creation options of a given database ?
When I open a database created with a few non default options (MAXCATS set to 10000) for example, GET MAXCATS seems to always return the last value set with SET MAXCATS.
Regards, Fabrice Etanchaud Questel-Orbit
Dear Fabrice,
How can I know the creation options of a given database ?
When I open a database created with a few non default options (MAXCATS set to 10000) for example,
GET MAXCATS seems to always return the last value set with SET MAXCATS.
good point, there was no way to do so.. but this has changed with the latest snapshot. You will get the value for UPDINDEX, MAXCATS and MAXLEN by either running the commands "open ...; info db" or evaluating the XQuery function "db:info('...')".
The GET command will always give you the global value of an option.
Thanks, Christian
Thank you once again Christian for your fast reply, and update !
BaseX is a fantastic XML tool. Wondering how I could process XML before !
As night time is also dream time, Do you still plan to increase database node count limitation for the next major version ?
Good night
-----Message d'origine----- De : Christian Grün [mailto:christian.gruen@gmail.com] Envoyé : mercredi 2 janvier 2013 21:34 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] how to know creation options of a database
Dear Fabrice,
How can I know the creation options of a given database ?
When I open a database created with a few non default options (MAXCATS set to 10000) for example,
GET MAXCATS seems to always return the last value set with SET MAXCATS.
good point, there was no way to do so.. but this has changed with the latest snapshot. You will get the value for UPDINDEX, MAXCATS and MAXLEN by either running the commands "open ...; info db" or evaluating the XQuery function "db:info('...')".
The GET command will always give you the global value of an option.
Thanks, Christian
Hi Fabrice,
Do you still plan to increase database node count limitation for the next major version ?
it’s on our agenda, but among hundreds of other more pressing issues, so… don’t expect this too soon. ___________________________
Good night
-----Message d'origine----- De : Christian Grün [mailto:christian.gruen@gmail.com] Envoyé : mercredi 2 janvier 2013 21:34 À : Fabrice Etanchaud Cc : basex-talk@mailman.uni-konstanz.de Objet : Re: [basex-talk] how to know creation options of a database
Dear Fabrice,
How can I know the creation options of a given database ?
When I open a database created with a few non default options (MAXCATS set to 10000) for example,
GET MAXCATS seems to always return the last value set with SET MAXCATS.
good point, there was no way to do so.. but this has changed with the latest snapshot. You will get the value for UPDINDEX, MAXCATS and MAXLEN by either running the commands "open ...; info db" or evaluating the XQuery function "db:info('...')".
The GET command will always give you the global value of an option.
Thanks, Christian _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de