You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-07-31 05:44:24 +03:00
Remove redundant UNF sub-option in JSON example (#2418)
UNF option is not required with JSON and makes the example harder to read and understand.
This commit is contained in:
@ -15,7 +15,7 @@ try {
|
||||
await client.ft.create('idx:users', {
|
||||
'$.name': {
|
||||
type: SchemaFieldTypes.TEXT,
|
||||
SORTABLE: 'UNF'
|
||||
SORTABLE: true
|
||||
},
|
||||
'$.age': {
|
||||
type: SchemaFieldTypes.NUMERIC,
|
||||
|
Reference in New Issue
Block a user