The OpenD Programming Language

Sqlite.this

Opens and creates the database, if desired.

class Sqlite
this
(
string filename
,
int flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE
)

Meta

History

The flags argument was ignored until July 29, 2022. (This function was originally written over 11 years ago, when sqlite3_open_v2 was not commonly supported on some distributions yet, and I didn't notice to revisit it for ages!)