Documentation ¶ Index ¶ type DB func Open(path string) (*DB, error) func OpenWithOptions(path string, options Options) (*DB, error) func (db *DB) Checkpoint(ctx context.Context) error func (db *DB) Close() error func (db *DB) Ping(ctx context.Context) error func (db *DB) Ready(context.Context) error func (db *DB) SQLDB() *sql.DB type Options func DefaultOptions(path string) Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DB ¶ type DB struct { // contains filtered or unexported fields } func Open ¶ func Open(path string) (*DB, error) func OpenWithOptions ¶ func OpenWithOptions(path string, options Options) (*DB, error) func (*DB) Checkpoint ¶ func (db *DB) Checkpoint(ctx context.Context) error func (*DB) Close ¶ func (db *DB) Close() error func (*DB) Ping ¶ func (db *DB) Ping(ctx context.Context) error func (*DB) Ready ¶ added in v0.1.1 func (db *DB) Ready(context.Context) error func (*DB) SQLDB ¶ func (db *DB) SQLDB() *sql.DB type Options ¶ type Options struct { WALEnabled bool BusyTimeout time.Duration Synchronous string CheckpointAfterIngestion bool } func DefaultOptions ¶ func DefaultOptions(path string) Options Source Files ¶ View all Source files sqlite.go Directories ¶ Show internal Expand all Path Synopsis schema Click to show internal directories. Click to hide internal directories.