Versions in this module Expand all Collapse all v0 v0.4.0 Jan 6, 2025 Changes in this version + func NewInterpreter() common.Interpreter + func NewUnversionedNotifier(opts common.Opts, table string) (*notifier.UnversionedPersistenceNotifier[*UnversionedPersistence], error) + func NewVersionedNotifier(opts common.Opts, table string) (*notifier.VersionedPersistenceNotifier[*VersionedPersistence], error) + func OpenDB(dataSourceName string, maxOpenConns, maxIdleConns int, ...) (*sql.DB, error) + type BasePersistence struct + func (db *BasePersistence[V, R]) SetStates(ns driver.Namespace, kvs map[driver.PKey]V) map[driver.PKey]error + type TestDriver struct + Name string + TempDir string + func (t *TestDriver) NewTransactionalUnversioned(dataSourceName string, config driver.Config) (driver.TransactionalUnversionedPersistence, error) + func (t *TestDriver) NewTransactionalVersioned(dataSourceName string, config driver.Config) (driver.TransactionalVersionedPersistence, error) + func (t *TestDriver) NewUnversioned(dataSourceName string, config driver.Config) (driver.UnversionedPersistence, error) + func (t *TestDriver) NewVersioned(dataSourceName string, config driver.Config) (driver.VersionedPersistence, error) + type UnversionedPersistence struct + func NewUnversioned(opts common.Opts, table string) (*UnversionedPersistence, error) + type VersionedPersistence struct + func NewVersioned(opts common.Opts, table string) (*VersionedPersistence, error)