Keeping DB in sync with local directory?

Wednesday, 1 December 2021 · 3 messages · last reply 2 Dec 2021
EK
Eliot Kimber1 Dec 2021 16:28 #
I’m using BaseX for ad-hoc analysis of content managed in a git repo, so I’m just using the GUI to import the cloned directory into a DB. I know I can write a script to iterate over the docs in the DB to reload them from disk but I’m wondering if that’s already provided for somewhere? I didn’t find anything in the docs but I didn’t spend a huge amount of time looking for it. Thanks, Eliot _____________________________________________ Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
CG
Christian Grün2 Dec 2021 13:23 #
Hi Eliot, There’s currently no automatized feature to write updated files to a database. As you’ve already indicated, the easiest way will be to use a little script for that. All the best, Christian
Quoted text · Eliot Kimber · 41 lines
On Wed, Dec 1, 2021 at 4:28 PM Eliot Kimber <eliot.kimber at servicenow.com> wrote: > I’m using BaseX for ad-hoc analysis of content managed in a git repo, so > I’m just using the GUI to import the cloned directory into a DB. > > > > I know I can write a script to iterate over the docs in the DB to reload > them from disk but I’m wondering if that’s already provided for somewhere? > I didn’t find anything in the docs but I didn’t spend a huge amount of time > looking for it. > > > > Thanks, > > > > Eliot > > > > > > _____________________________________________ > > *Eliot Kimber* > > Sr Staff Content Engineer > > O: 512 554 9368 > > M: 512 554 9368 > > servicenow.com <https://www.servicenow.com> > > LinkedIn <https://www.linkedin.com/company/servicenow> | Twitter > <https://twitter.com/servicenow> | YouTube > <https://www.youtube.com/user/servicenowinc> | Facebook > <https://www.facebook.com/servicenow> >
EK
Eliot Kimber2 Dec 2021 16:05 #
Thanks—I’ll pursue the script solution. Cheers, E. _____________________________________________ Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
Quoted text · Christian Grün · 21 lines
From: Christian Grün <christian.gruen at gmail.com> Date: Thursday, December 2, 2021 at 6:23 AM To: Eliot Kimber <eliot.kimber at servicenow.com> Cc: basex-talk at mailman.uni-konstanz.de <basex-talk at mailman.uni-konstanz.de> Subject: Re: [basex-talk] Keeping DB in sync with local directory? [External Email] Hi Eliot, There’s currently no automatized feature to write updated files to a database. As you’ve already indicated, the easiest way will be to use a little script for that. All the best, Christian On Wed, Dec 1, 2021 at 4:28 PM Eliot Kimber <eliot.kimber at servicenow.com<mailto:eliot.kimber at servicenow.com>> wrote: I’m using BaseX for ad-hoc analysis of content managed in a git repo, so I’m just using the GUI to import the cloned directory into a DB. I know I can write a script to iterate over the docs in the DB to reload them from disk but I’m wondering if that’s already provided for somewhere? I didn’t find anything in the docs but I didn’t spend a huge amount of time looking for it. Thanks, Eliot Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://urldefense.com/v3/__https:/www.linkedin.com/company/servicenow__;!!N4vogdjhuJM!RHdmhBeY7_tDH6isFUStOIdqh1jyMj9ogJSKZIJK7AYhOq_sNZoL5gYdlHD2nOhthFDKjw$> | Twitter<https://urldefense.com/v3/__https:/twitter.com/servicenow__;!!N4vogdjhuJM!RHdmhBeY7_tDH6isFUStOIdqh1jyMj9ogJSKZIJK7AYhOq_sNZoL5gYdlHD2nOhgIinqCg$> | YouTube<https://urldefense.com/v3/__https:/www.youtube.com/user/servicenowinc__;!!N4vogdjhuJM!RHdmhBeY7_tDH6isFUStOIdqh1jyMj9ogJSKZIJK7AYhOq_sNZoL5gYdlHD2nOhpFe96zQ$> | Facebook<https://urldefense.com/v3/__https:/www.facebook.com/servicenow__;!!N4vogdjhuJM!RHdmhBeY7_tDH6isFUStOIdqh1jyMj9ogJSKZIJK7AYhOq_sNZoL5gYdlHD2nOhv7lLoAQ$>

⚡Generated with XQuery