package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Nov 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New creates a new SQlite database on disk and a driver instance wrapping it.
ReadTx is a read-only transaction
Get runs a query to select a single row and read it into out.
Select runs a query to select one or more rows and read them into out.
type ReadWriteTx struct {
ReadTx
}
ReadWriteTx is a read-write transaction
Exec runs the provided query with the provided args and returns the insert ID, if any
Exec should be used for any insert, update, or delete queries.
Sqlite is a SQLite driver for libsdk store
Exec executes a replayed transaction and returns its results
Migrate runs migration statements that must all succeed or an error is returned
DidWrite returns true if the transaction was used to write.
Read returns a read-only transaction
ReadWrite returns a read-write transaction
Source Files
¶
Click to show internal directories.
Click to hide internal directories.