lnd/sqldb
Andras Banki-Horvath 74e7a50f4a
sqldb: convert primary key violation to ErrSQLUniqueConstraintViolation
Besides the usual unique constraint violation that we already support we
also want to return the same error if the primary key constraint is
violated.
2024-03-01 10:08:07 +01:00
..
sqlc sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
interfaces.go fix: correct the typo 2023-12-29 21:27:13 +08: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
postgres.go sqldb: introduce replace for the BIGINT type alias 2024-03-01 10:08:07 +01:00
postgres_fixture.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
postgres_test.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
schemas.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
sqlerrors.go sqldb: convert primary key violation to ErrSQLUniqueConstraintViolation 2024-03-01 10:08:07 +01:00
sqlite.go sqldb: introduce replace for the BIGINT type alias 2024-03-01 10:08:07 +01:00
sqlite_test.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00