MCPcopy Create free account
hub / github.com/temporalio/temporal / db

Struct db

common/persistence/sql/sqlplugin/sqlite/db.go:15–27  ·  view source on GitHub ↗

db represents a logical connection to sqlite database

Source from the content-addressed store, hash-verified

13
14// db represents a logical connection to sqlite database
15type db struct {
16 dbKind sqlplugin.DbKind
17 dbName string
18
19 mu sync.RWMutex
20 onClose []func()
21
22 db *sqlx.DB
23 tx *sqlx.Tx
24 conn sqlplugin.Conn
25 converter DataConverter
26 logger log.Logger
27}
28
29var _ sqlplugin.AdminDB = (*db)(nil)
30var _ sqlplugin.DB = (*db)(nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected