Instanciates a new copy of a SQLiteClient object and attempts to open the database with the supplied name.
The name of an SQLite database is the name of a file that will contain the database. If the file does not exist, SQLite attempts to create and initialize it. If the file is read-only (due to permission bits or because it is located on read-only media like a CD-ROM) then SQLite opens the database for reading only.
The entire SQL database is stored in a single file on the disk. But additional temporary files may be created during the execution of an SQL command in order to store the database rollback journal or temporary and intermediate results of a query.
| Exception Type | Condition |
|---|---|
| SQLiteException | Thrown if an error occurs opening the database |
db = new SQLite("testdb");
SQLiteClient Class | SQLite.NET Namespace