====fn:put()====
FN{{Mono|fn:put() }} is also part of the XQUF and enables the user to serialize XDM instances to secondary storage. It is executed at the end of a snapshot. Serialized documents therefore reflect all changes made effective during a query. Some more BaseX-specific [[Database Module#Updates|updating database functions]] exist to add, delete or update documents in a database.
==XQUF Concepts==