Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
type
DB
struct
{
17
db *sql.DB
18
profile *profile.Profile
19
}
20
21
func
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