Like any value in XQuery it goes away when it is out of scope ....
*unless* you set it to a system property ... then it lives for the life of the 
host.


-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
[email protected]
Phone: +1 812-482-5223
Cell:  +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>


From: [email protected] 
[mailto:[email protected]] On Behalf Of colin mcenearney
Sent: Friday, December 07, 2012 10:58 AM
To: [email protected]
Subject: [MarkLogic Dev General] using maps - when to clear

Hi all,

When a map:map is created within a query is it automatically cleared when the 
query ends?  Or does it need to be explicitly cleared (map:clear) ?

Thanks,
Colin

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to