Dear Christian,
Is data serialized/deserialized in your example, Or is it working directly on the internal data format ?
Best regards, Fabrice Etanchaud Questel/Orbit
-----Message d'origine----- De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de Christian Grün Envoyé : lundi 4 août 2014 11:06 À : Marco Lettere Cc : BaseX Objet : Re: [basex-talk] Copy between databases
Hi Marco,
what is the best way to copy/move collections of resources from one db to another?
Here is one way to do it:
db:open('source', 'a') ! db:add('target', ., db:path(.))
Cheers, Christian
Is data serialized/deserialized in your example, Or is it working directly on the internal data format ?
No data will be serialized in this example, but it may happen that, due to the semantics of the pending update, you may encounter OutOfMemory issues when copying very large documents.
Christian
Best regards, Fabrice Etanchaud Questel/Orbit
-----Message d'origine----- De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de Christian Grün Envoyé : lundi 4 août 2014 11:06 À : Marco Lettere Cc : BaseX Objet : Re: [basex-talk] Copy between databases
Hi Marco,
what is the best way to copy/move collections of resources from one db to another?
Here is one way to do it:
db:open('source', 'a') ! db:add('target', ., db:path(.))
Cheers, Christian
basex-talk@mailman.uni-konstanz.de