Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

HIMPORT PREPARE

Last updated
HIMPORT PREPARE name field [field ...]
Group
Hash
Arity
-4 (at least 4 words, counting the command name)
HotKV Cloud
All plans
On-Premise
no license needed

HIMPORT PREPARE stores the list of field names under name on the current connection. HIMPORT SET then makes hashes from values alone. Preparing a name again replaces the list. Nothing is written to the dataset, so a replica’s connection can use it.

Simple string OK in RESP2 and RESP3. With no field, ERR wrong number of arguments for 'himport|prepare' command.

127.0.0.1:6379> HIMPORT PREPARE person name age city
OK
127.0.0.1:6379> HIMPORT PREPARE
(error) ERR wrong number of arguments for 'himport|prepare' command

A Redis 8.10 command.

HIMPORT SET, HIMPORT DISCARD, HIMPORT