Technical References - [closedatabase]
Putting [closedatabase db=name.db] in your template causes the specified database file (or full path) to be written 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' will cause the specified database file to be closed but not written to disk, so any unsaved changes will be lost