1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +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,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/