lightning-terminal/db/sqlc
Viktor Tigerström d2eb60658f
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-02-06 20:14:34 +01:00
..
migrations multi: rename sql kvstores session_id to group_id 2025-07-21 14:45:45 +02:00
queries sqlc: add DeleteSession query 2025-11-25 19:35:42 +01:00
accounts.sql.go multi: add UpdateAccountAliasForTests query 2025-10-07 02:13:41 +02:00
actions.sql.go sqlc+firewalldb: add GetAction SQL query 2025-10-07 02:13:14 +02:00
actions_custom.go db: define manual action SQL queries 2025-05-30 10:54:34 +02:00
db.go db/sqlc: add account related tables and queries 2025-01-29 16:37:20 +02:00
db_custom.go sqlc: introduce NewForType helper method 2026-02-06 20:14:34 +01:00
kvstores.sql.go multi: rename sql kvstores session_id to group_id 2025-07-21 14:45:45 +02:00
models.go multi: rename sql kvstores session_id to group_id 2025-07-21 14:45:45 +02:00
privacy_paris.sql.go db/sqlc: priv map schemas and crud 2025-04-22 06:10:48 +02:00
querier.go sqlc: add DeleteSession query 2025-11-25 19:35:42 +01:00
sessions.sql.go sqlc: add DeleteSession query 2025-11-25 19:35:42 +01:00