Skip to content

Commit 2bb06d5

Browse files
committed
firewalldb: add ListAllKVStoresRecords to queries
1 parent 2820392 commit 2bb06d5

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
@@ -31,6 +31,7 @@ type SQLKVStoreQueries interface {
3131
UpdateGlobalKVStoreRecord(ctx context.Context, arg sqlc.UpdateGlobalKVStoreRecordParams) error
3232
UpdateGroupKVStoreRecord(ctx context.Context, arg sqlc.UpdateGroupKVStoreRecordParams) error
3333
InsertKVStoreRecord(ctx context.Context, arg sqlc.InsertKVStoreRecordParams) error
34+
ListAllKVStoresRecords(ctx context.Context) ([]sqlc.Kvstore, error)
3435
DeleteAllTempKVStores(ctx context.Context) error
3536
GetOrInsertFeatureID(ctx context.Context, name string) (int64, error)
3637
GetOrInsertRuleID(ctx context.Context, name string) (int64, error)

0 commit comments

Comments
 (0)