Skip to content

Commit 2354754

Browse files
committed
Update METAKEYSWITHFILTER
1 parent 01c34f0 commit 2354754

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ type Cmdable interface {
344344
GeoHash(ctx context.Context, key string, members ...string) *StringSliceCmd
345345

346346
MetaKeys(ctx context.Context, pattern string) *StringSliceCmd
347-
MetaKeysWithFilter(ctx context.Context, pattern string, filters string) *StringCmd
347+
MetaKeysWithFilter(ctx context.Context, pattern string, filters string) *StringSliceCmd
348348
GetMeta(ctx context.Context, key string) *StringCmd
349349
GetRowCount(ctx context.Context, key string) *StringCmd
350350
KNNScan(ctx context.Context, dataKeys []interface{}, knnSize string, numColumnsAndIndicesToSelect string, featureColIndexAndDimensions string, knnType string, knnThreshold string, vectors string) *StringSliceCmd
@@ -2930,9 +2930,9 @@ func (c cmdable) MetaKeys(ctx context.Context, pattern string) *StringSliceCmd {
29302930
return cmd
29312931
}
29322932

2933-
func (c cmdable) MetaKeysWithFilter(ctx context.Context, pattern string, filters string) *StringCmd {
2933+
func (c cmdable) MetaKeysWithFilter(ctx context.Context, pattern string, filters string) *StringSliceCmd {
29342934
args := []interface{}{"METAKEYSWITHFILTER", pattern, filters}
2935-
cmd := NewStringCmd(ctx, args...)
2935+
cmd := NewStringSliceCmd(ctx, args...)
29362936
_ = c(ctx, cmd)
29372937
return cmd
29382938
}

0 commit comments

Comments
 (0)