Database access in a function
Friday, 18 December 2020 · 2 messages
GC
Giuseppe G. A. Celano18 Dec 2020 11:44 #
Hi,
I have a script where I join two databases. It works. However, when I try to put the content of this script in a function, and then call it (with the databases being the arguments), the execution is slowed down (I guess the indexes are not properly accessed). Is there a way to overcome this? Thanks.
CG
Christian Grün18 Dec 2020 11:46 #
Quoted text · Giuseppe G. A. Celano · 1 line
> I have a script where I join two databases. It works. However, when I try to put the content of this script in a function, and then call it (with the databases being the arguments), the execution is slowed down (I guess the indexes are not properly accessed). Is there a way to overcome this? Thanks.
Could be ;) Feel free to provide us with more details.
Written for BaseX 9.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery