lnd/sqldb
Andras Banki-Horvath 043e4aff01
sqldb+invoices: fix ordering bug in FilterInvoices
Previously if the `reverse` named arg was unset (value of NULL), then
SQL would order by NULL instead of ID causing undifined ordering of the
returned rows. To fix that we check for NULL and also make sure to set
the `reverse` arg in the code explicitly as it in the generated code it
is an `interface{}` instead of `bool`.
2024-04-11 15:04:04 +02:00
..
sqlc sqldb+invoices: fix ordering bug in FilterInvoices 2024-04-11 15:04:04 +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: turn sqldb into a go package 2024-04-09 20:46:11 +02:00
go.sum sqldb: turn sqldb into a go package 2024-04-09 20:46:11 +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.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07: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: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
postgres_test.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
postgres.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01: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 the sqldb package 2023-07-27 03:31:12 -07:00
sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
sqlutils.go sqldb: export sql null type helpers 2024-04-09 20:46:11 +02:00