SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ Open()

Database sqt::Database::Open ( const std::filesystem::path & path)
static

Opens a SQLite database at the specified file path.

Parameters
pathThe file path at which the database opens. The file will be created if it doesn't exist.
Returns
An opened sqt::Database instance.
Exceptions
sqt::SQLErrorThrown if fails to open the database.