graph/db+sqldb: implement HasChannelEdge and ChannelID

And run `TestEdgeInfoUpdates` against our SQL backends.
This commit is contained in:
Elle Mouton committed 2025-06-24 21:04:35 +02:00
1 parent 4fad4a7023
commit 13bf6a549f
5 files changed
+220 -1

No files matched your search

+4
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),