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

Method IncrementTx

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

Source from the content-addressed store, hash-verified

302`
303
304func (q *Queries) IncrementTx(ctx context.Context, id string) (int64, error) {
305 row := q.db.QueryRowContext(ctx, incrementTx, id)
306 var current_tx int64
307 err := row.Scan(&current_tx)
308 return current_tx, err
309}
310
311const setFileMeta = `-- name: SetFileMeta :exec
312INSERT INTO file_metas (id, graph_id, file_id, blob_path, checksum, size, last_modified_at, last_modified_tx)

Callers

nothing calls this directly

Calls 1

QueryRowContextMethod · 0.80

Tested by

no test coverage detected