1
0
mirror of https://github.com/redis/node-redis.git synced 2025-07-31 05:44:24 +03:00

Update search-hashes.js (#2519)

This commit is contained in:
Leibale Eidelman
2023-05-29 07:18:59 -04:00
committed by GitHub
parent 85091cde5a
commit 499ea85594

View File

@ -13,7 +13,7 @@ try {
await client.ft.create('idx:animals', {
name: {
type: SchemaFieldTypes.TEXT,
sortable: true
SORTABLE: true
},
species: SchemaFieldTypes.TAG,
age: SchemaFieldTypes.NUMERIC