Warning

    However, if it is only connection values that vary at run-time, such as the path to the database file, or the database host, you should instead use . See Run-time database configuration for more details.

    It may be easier to avoid the use of and instead use Database.bind() and related methods to set or change the database. See for details.