Skip to content

Commit 01368d5

Browse files
firewalldb: add ListAllKVStoresRecords to queries
1 parent aec2da6 commit 01368d5

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)