Skip to content

ConnectionEditor

The connection string specifies the configuration values required to connect to the SQLite database.

To access the Connection Editor, click the icon in the Connection string property.

Connection Editor
Connection Editor

Once your connection is set up, you can create and execute SQL queries. See the SQL Editor for details.

Data Source=C:\Data\myapp.db

KeywordValuesDefaultDescription
Data SourceFile path or :memory:(required)Absolute path to the .db file, or :memory: for an in-memory database
ModeReadWriteCreate, ReadWrite, ReadOnly, MemoryReadWriteCreateControls how the database file is opened
CacheDefault, Private, SharedDefaultEnables connection sharing for in-memory databases
TimeoutInteger (seconds)30Maximum time to wait if the database is locked
PasswordAny string(none)Requires a SQLCipher-compatible library
SQLite connection string example