Schema adds a FieldSchema.
(field *FieldSchema)
| 490 | |
| 491 | // Schema adds a FieldSchema. |
| 492 | func (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. |
| 498 | func (b *CreateIndexBuilder) Run() (string, error) { |
no outgoing calls
no test coverage detected