MCPcopy Create free account
hub / github.com/bcspragu/logseq-sync / Graph

Method Graph

db/sqlite/sqlitedb/query.sql.go:194–199  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

192`
193
194func (q *Queries) Graph(ctx context.Context, id string) (Graph, error) {
195 row := q.db.QueryRowContext(ctx, graph, id)
196 var i Graph
197 err := row.Scan(&i.ID, &i.Name, &i.CurrentTx)
198 return i, err
199}
200
201const graphEncryptKeys = `-- name: GraphEncryptKeys :many
202SELECT id, graph_id, encrypted_private_key, public_key

Callers

nothing calls this directly

Calls 1

QueryRowContextMethod · 0.80

Tested by

no test coverage detected