1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Adds anchors

This commit is contained in:
Itamar Haber
2023-03-14 15:00:52 +02:00
parent d9c815f50e
commit 5c835d1a59
2 changed files with 5 additions and 11 deletions

View File

@@ -1,11 +1,4 @@
{
"id": "json_search",
"file": "index.js",
"highlight": [
"10",
"44-56",
"63"
],
"hide": [],
"collapse": []
"file": "index.js"
}

View File

@@ -1,8 +1,9 @@
import { createClient, SchemaFieldTypes} from 'redis';
// HIDE_START
// Step 1
import { createClient, SchemaFieldTypes } from 'redis';
const client = createClient();
await client.connect();
// HIDE_END
// Create an index.
// https://redis.io/commands/ft.create/