Skip to content

Latest commit

 

History

History
70 lines (37 loc) · 1.64 KB

File metadata and controls

70 lines (37 loc) · 1.64 KB

redis-om / BooleanFieldDefinition

Interface: BooleanFieldDefinition

A field representing a boolean.

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: "boolean"

Yep. It's a boolean.

Overrides

BaseFieldDefinition.type

Defined in

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