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

Method AddGraphEncryptKey

db/sqlite/sqlitedb/query.sql.go:29–37  ·  view source on GitHub ↗
(ctx context.Context, arg AddGraphEncryptKeyParams)

Source from the content-addressed store, hash-verified

27}
28
29func (q *Queries) AddGraphEncryptKey(ctx context.Context, arg AddGraphEncryptKeyParams) error {
30 _, err := q.db.ExecContext(ctx, addGraphEncryptKey,
31 arg.ID,
32 arg.GraphID,
33 arg.EncryptedPrivateKey,
34 arg.PublicKey,
35 )
36 return err
37}
38
39const addGraphSalt = `-- name: AddGraphSalt :exec
40INSERT INTO graph_salts (

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.80

Tested by

no test coverage detected