lnd/sqldb/sqlc/queries
Abdullahi Yunus ac2cec462c
graph: use UNION for isPublicNode query
In this commit we updated the IsPublicV1Node query to use UNION
instead of OR, since sqlite struggles to efficiently use
multiple indexes in a single query involving OR conditions across
different columns.

We use UNION ALL since the query doesn't care about duplicates.
2025-12-23 21:04:36 +01:00
..
amp_invoices.sql multi: add call to directly insert an AMP sub-invoice 2025-01-23 09:10:59 +01:00
graph.sql graph: use UNION for isPublicNode query 2025-12-23 21:04:36 +01:00
invoice_events.sql sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
invoices.sql sqldb+invoices: Optimize invoice fetching when the reference is only a hash 2025-01-23 09:11:01 +01:00
migration.sql sqldb: add table to track custom SQL migrations 2025-01-23 09:10:59 +01:00