Database.attachedFilePath

Gets the path associated with an attached database.

struct Database
string
attachedFilePath
(
string database = "main"
)

Parameters

database
Type: string

The name of an attached database.

Return Value

Type: string

The absolute path of the attached database. If there is no attached database, or if database is a temporary or in-memory database, then null is returned.

Meta