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

Function NewVectorAttribSliceCmd

command.go:8296–8303  ·  view source on GitHub ↗
(ctx context.Context, args ...any)

Source from the content-addressed store, hash-verified

8294var _ Cmder = (*VectorAttribSliceCmd)(nil)
8295
8296func NewVectorAttribSliceCmd(ctx context.Context, args ...any) *VectorAttribSliceCmd {
8297 return &VectorAttribSliceCmd{
8298 baseCmd: baseCmd{
8299 ctx: ctx,
8300 args: args,
8301 },
8302 }
8303}
8304
8305func (cmd *VectorAttribSliceCmd) SetVal(val []VectorAttrib) {
8306 cmd.val = val

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected