Case
SQLiteConnection.Storage.file(path:)
An SQLite database stored in a file at the specified path.
case file(path: String)
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) at the time of establishing the connection. It is strongly recommended that users always use absolute paths whenever possible.
File-based databases persist as long as the files representing them on disk does, and can be opened multiple times within the same process or even by multiple processes if configured properly.