mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-18 13:07:58 +02:00
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. |
||
|---|---|---|
| .. | ||
| migrations | ||
| queries | ||
| amp_invoices.sql.go | ||
| db.go | ||
| db_custom.go | ||
| db_custom_test.go | ||
| graph.sql.go | ||
| invoice_events.sql.go | ||
| invoices.sql.go | ||
| migration.sql.go | ||
| models.go | ||
| querier.go | ||