Skip to content

Latest commit

 

History

History
70 lines (37 loc) · 1.63 KB

File metadata and controls

70 lines (37 loc) · 1.63 KB

redis-om / TextFieldDefinition

Interface: TextFieldDefinition

A field representing searchable text.

Hierarchy

Table of contents

Properties

Properties

alias

Optional alias: string

The default field name in Redis is the key name defined in the SchemaDefinition. Overrides the Redis key name if set.

Inherited from

BaseFieldDefinition.alias

Defined in

lib/schema/definition/base-field-definition.ts:12


sortable

Optional sortable: boolean

Enables sorting by this field.

Inherited from

SortableFieldDefinition.sortable

Defined in

lib/schema/definition/sortable-field-definition.ts:4


type

type: "text"

Yep. It's searchable text.

Overrides

BaseFieldDefinition.type

Defined in

lib/schema/definition/text-field-definition.ts:7