Skip to content

Case

SQLiteConfiguration.Storage.file(path:)

Specify an SQLite database stored in a file at the specified path.
case file(path: String)

Parameters

path

The filesystem path at which to store the database.

Discussion

If a relative path is specified, it is interpreted relative to the current working directory of the current process (e.g. NIOFileSystem.shared.currentWorkingDirectory). It is recommended to always use absolute paths whenever possible.