Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 982 Bytes

File metadata and controls

34 lines (19 loc) · 982 Bytes

redis-om / SeparableFieldDefinition

Interface: SeparableFieldDefinition

Mixin for adding parsing for TAG fields in RediSearch.

Hierarchy

Table of contents

Properties

Properties

separator

Optional separator: string

Due to how RediSearch works, strings and arrays are sometimes stored the same in Redis, as a simple string. This is the separator used to split those strings when it is an array. If your StringField contains this separator, this can cause problems. You can change it here to avoid those problems. Defaults to |.

Defined in

lib/schema/definition/separable-field-definition.ts:9