Hello Sebastian,
Neither, in this case; this expression will be inlined. It is quite difficult to say for general cases what will happen to a query. You can find out more about the compiling steps and the optimized query if you take a look at the query info for your specific query.
Cheers, Dirk
On 17/02/14 10:24, Wiemer, Sebastian wrote:
Hi,
given the following example
let $result := doc(‚myDataBase‘)/result return $result
will $result be evaluated lazily, or will it be stored in memory?
kind regards,
Sebastian _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk