MCPcopy
hub / github.com/redis/go-redis / VAdd

Method VAdd

vectorset_commands.go:163–165  ·  vectorset_commands.go::cmdable.VAdd

`VADD key (FP32 | VALUES num) vector element` note: the API is experimental and may be subject to change.

(ctx context.Context, key, element string, val Vector)

Source from the content-addressed store, hash-verified

161// `VADD key (FP32 | VALUES num) vector element`
162// note: the API is experimental and may be subject to change.
163func (c cmdable) VAdd(ctx context.Context, key, element string, val Vector) *BoolCmd {
164 return c.VAddWithArgs(ctx, key, element, val, &VAddArgs{})
165}
166
167type VAddArgs struct {
168 // the REDUCE option must be passed immediately after the key

Callers

nothing calls this directly

Calls 1

VAddWithArgsMethod · 0.95

Tested by

no test coverage detected