MCPcopy
hub / github.com/usememos/memos / DB

Struct DB

store/db/postgres/postgres.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type DB struct {
17 db *sql.DB
18 profile *profile.Profile
19}
20
21func NewDB(profile *profile.Profile) (store.Driver, error) {
22 if profile == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected