Skip to content

Commit dbdbefe

Browse files
firewalldb: add ListAllKVStoresRecords to queries
Previous commits had forgotten to add the `ListAllKVStoresRecords` query to the `firewalldb.SQLKVStoreQueries` interface. As that is required to make the query useable when defining the `sqldb/v2` `TransactionExecutor` for the `firewalldb` package, this commit adds it to the interface.
1 parent ca57790 commit dbdbefe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firewalldb/kvstores_sql.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type SQLKVStoreQueries interface {
3030
UpdateGlobalKVStoreRecord(ctx context.Context, arg sqlc.UpdateGlobalKVStoreRecordParams) error
3131
UpdateGroupKVStoreRecord(ctx context.Context, arg sqlc.UpdateGroupKVStoreRecordParams) error
3232
InsertKVStoreRecord(ctx context.Context, arg sqlc.InsertKVStoreRecordParams) error
33+
ListAllKVStoresRecords(ctx context.Context) ([]sqlc.Kvstore, error)
3334
DeleteAllTempKVStores(ctx context.Context) error
3435
GetOrInsertFeatureID(ctx context.Context, name string) (int64, error)
3536
GetOrInsertRuleID(ctx context.Context, name string) (int64, error)

0 commit comments

Comments
 (0)