Application icon

Close Database

This function is used to close one or more album and track databases.

If a path is not specified, all open databases will be closed.

If a database being closed has been modified, it will be saved prior to closing unless the Discard changes option is specified.

If a specified database is not open this function will be ignored. Additionally if a database has been grabbed by an Open Database for Querying statement, it will not be closed.

The path may contain any of the escape sequences described in Escape Sequences. At runtime, the path to a database must be absolute (/) or relative to the home folder (~/).

The action test state will be set to true if any databases were closed, otherwise it will be set to false.