lnd/sqldb
Andras Banki-Horvath 06d4267a76
sqldb: fix end date filter when querying invoices
Previously, the SQL implementation of the invoice query simply
converted the start and end timestamps to time and used them
in SQL queries to check for inclusivity. However, this logic
failed when the start and end timestamps were equal.

This commit addresses and corrects this issue.
2024-09-03 19:40:47 +02:00
..
sqlc sqldb: fix end date filter when querying invoices 2024-09-03 19:40:47 +02:00
config.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
go.mod sqldb: switch away from pq to pgx for Postgres 2024-07-09 08:39:58 +02:00
go.sum sqldb: switch away from pq to pgx for Postgres 2024-07-09 08:39:58 +02:00
interfaces.go sqldb: cleanup scope state reset by adding reset closure to ExecTx 2024-04-11 15:04:04 +02:00
log.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
migrations_test.go sqldb: add unit test for the invoice expiry migration 2024-07-09 08:39:57 +02:00
migrations.go sqldb: extract migration into method 2024-07-09 08:39:57 +02:00
no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
postgres_fixture.go sqldb: switch away from pq to pgx for Postgres 2024-07-09 08:39:58 +02:00
postgres_test.go sqldb: add helpers to create test DBs migrated up to a select version 2024-07-09 08:39:57 +02:00
postgres.go sqldb: switch away from pq to pgx for Postgres 2024-07-09 08:39:58 +02:00
schemas.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
sqlerrors_no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
sqlerrors.go kvdb+sqldb: update SQL error parsing to account for non wrapped errs 2024-04-11 15:04:03 +02:00
sqlite_test.go sqldb: add helpers to create test DBs migrated up to a select version 2024-07-09 08:39:57 +02:00
sqlite.go sqldb: add helpers to create test DBs migrated up to a select version 2024-07-09 08:39:57 +02:00
sqlutils.go sqldb: export sql null type helpers 2024-04-09 20:46:11 +02:00