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

Method Schema

search_builders.go:492–495  ·  view source on GitHub ↗

Schema adds a FieldSchema.

(field *FieldSchema)

Source from the content-addressed store, hash-verified

490
491// Schema adds a FieldSchema.
492func (b *CreateIndexBuilder) Schema(field *FieldSchema) *CreateIndexBuilder {
493 b.schema = append(b.schema, field)
494 return b
495}
496
497// Run executes FT.CREATE and returns the status.
498func (b *CreateIndexBuilder) Run() (string, error) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected