graph/db+sqldb: implement HasChannelEdge and ChannelID

And run `TestEdgeInfoUpdates` against our SQL backends.
This commit is contained in:
Elle Mouton
2025-06-11 17:20:44 +02:00
parent 4fad4a7023
commit 13bf6a549f
5 changed files with 220 additions and 1 deletions

View File

@@ -206,6 +206,10 @@ SELECT
FROM channel_extra_types cet
WHERE cet.channel_id = $1;
-- name: GetSCIDByOutpoint :one
SELECT scid from channels
WHERE outpoint = $1 AND version = $2;
-- name: GetChannelsByPolicyLastUpdateRange :many
SELECT
sqlc.embed(c),