TLSyncSqliteWrapper
See source codeTable of contents
Interface for SQLite storage with prepare, exec and transaction capabilities.
interface TLSyncSqliteWrapper {}Properties
config
readonlyoptional
Optional configuration for table names. If not provided, defaults are used.
readonly config?: TLSyncSqliteWrapperConfigMethods
exec
Execute raw SQL (for DDL, multi-statement scripts)
Parameters
| Name | Description |
|---|---|
| |
Returns
voidprepare
Prepare a SQL statement for execution
Parameters
| Name | Description |
|---|---|
| |
Returns
TLSyncSqliteStatement<TResult, TParams>transaction
Execute a callback within a transaction
Parameters
| Name | Description |
|---|---|
| |
Returns
TPrev
TLSyncSqliteStatementNext
TLSyncSqliteWrapperConfig