MCPcopy
hub / github.com/micro/go-micro / sqliteModel

Struct sqliteModel

model/sqlite/sqlite.go:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type sqliteModel struct {
20 db *sql.DB
21 mu sync.RWMutex
22 schemas map[string]*model.Schema
23 types map[reflect.Type]*model.Schema
24}
25
26// New creates a new SQLite model. DSN is the file path (e.g., "data.db" or ":memory:").
27func New(dsn string) model.Model {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected