14 Mar
2022
14 Mar
'22
2:43 p.m.
Thank you! Follow up (strange) question. Is there the ability to "unload" a module dynamically?
Imported modules will stay in the context until the query execution is completed.
-----Original Message----- From: Christian Grün <christian.gruen@gmail.com> Sent: Sunday, March 13, 2022 4:50 PM To: Buddy Kresge <buddy.kresge@known2u.com> Cc: BaseX <basex-talk@mailman.uni-konstanz.de> Subject: Re: [basex-talk] Way to Dynamically import a module?
Hi Buddy,
I was wondering if in BaseX there is a way at run time to import a .xqm module, outside of the traditional “import module” statement.
Check out inspect:functions [1].
Hope this helps, Christian
[1] https://docs.basex.org/wiki/Inspection_Module#inspect:functions