closedatabase

[closedatabase db=mydata.db]
Putting [closedatabase db=mydata.db] in a template causes the specified database to be written to disk and closed. This is only needed for special cases, usually before appending to a file, where you need to change a file perhaps cached in RAM.

WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.

Adding 'commit=f' as [closedatabase db=mydata.db&commit=f] will cause the specified database file to be closed but not written to disk, any unsaved changes will be lost