redis-om / BaseFieldDefinition
Base interface for all fields.
-
BaseFieldDefinition
• Optional alias: string
The default field name in Redis is the key name defined in the SchemaDefinition. Overrides the Redis key name if set.
lib/schema/definition/base-field-definition.ts:12
• type: SchemaFieldType
The type of the field (i.e. string, number, boolean, etc.)