mirror of https://github.com/go-redis/redis.git
Clarify TSMadd ktvSlices usage in docstring (#2827)
* Clarify TSMadd ktvSlices usage in docstring * change syntax
This commit is contained in:
parent
9073e4056d
commit
5665b0f7ea
|
@ -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"}
|
||||
|
|
Loading…
Reference in New Issue