lightning-terminal/db
Viktor Torstensson 2483339da9
sqlc: introduce NewForType helper method
The upcoming implementation of `sqldb/v2` will extensively create
a `Queries` object on the fly. To make more intuitive how to create
the queries object for specific database types, we introduce a
`NewForType` helper method.
This also mimics how `tapd` creates the `Queries` object, and in order
not let `litd` have it's own definition of how `Queries` object are
created on the fly, the upcoming `sqldb/v2` usage will utilize this
helper method.
2026-05-14 11:37:37 +02:00
..
sqlc sqlc: introduce NewForType helper method 2026-05-14 11:37:37 +02:00
interfaces.go db+sqlc: use sqldb/v2 BackendType definition 2026-05-14 11:37:34 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
migrations.go db: add actions schemas and queries 2025-05-29 07:04:40 +02:00
postgres.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00
postgres_fixture.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
schemas.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
sql_migrations.go db: add LitdMigrationStream 2026-05-14 11:37:30 +02:00
sqlerrors.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
sqlite.go multi: reformat long lines for readability 2025-12-09 16:12:03 +00:00