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

Method AddGraphSalt

db/sqlite/sqlitedb/query.sql.go:54–62  ·  view source on GitHub ↗
(ctx context.Context, arg AddGraphSaltParams)

Source from the content-addressed store, hash-verified

52}
53
54func (q *Queries) AddGraphSalt(ctx context.Context, arg AddGraphSaltParams) error {
55 _, err := q.db.ExecContext(ctx, addGraphSalt,
56 arg.ID,
57 arg.GraphID,
58 arg.Value,
59 arg.ExpiresAt,
60 )
61 return err
62}
63
64const allFileMeta = `-- name: AllFileMeta :many
65SELECT id, graph_id, file_id, blob_path, checksum, size, last_modified_at, last_modified_tx

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.80

Tested by

no test coverage detected