mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
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.
|
// 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/
|
// For more information - https://redis.io/commands/ts.madd/
|
||||||
func (c cmdable) TSMAdd(ctx context.Context, ktvSlices [][]interface{}) *IntSliceCmd {
|
func (c cmdable) TSMAdd(ctx context.Context, ktvSlices [][]interface{}) *IntSliceCmd {
|
||||||
args := []interface{}{"TS.MADD"}
|
args := []interface{}{"TS.MADD"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user