Skip to content

Commit

Permalink
Clarify TSMadd ktvSlices usage in docstring (#2827)
Browse files Browse the repository at this point in the history
* Clarify TSMadd ktvSlices usage in docstring

* change syntax
  • Loading branch information
ofekshenawa committed Dec 17, 2023
1 parent 9073e40 commit 5665b0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions timeseries_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ func (c cmdable) TSInfoWithArgs(ctx context.Context, key string, options *TSInfo
}

// TSMAdd - Adds multiple samples to multiple time-series keys.
// It accepts a slice of 'ktv' slices, each containing exactly three elements: key, timestamp, and value.
// This struct must be provided for this command to work.
// For more information - https://redis.io/commands/ts.madd/
func (c cmdable) TSMAdd(ctx context.Context, ktvSlices [][]interface{}) *IntSliceCmd {
args := []interface{}{"TS.MADD"}
Expand Down

0 comments on commit 5665b0f

Please sign in to comment.