HIMPORT PREPARE
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.
Return value
Section titled “Return value”Simple string OK in RESP2 and RESP3. With no field,
ERR wrong number of arguments for 'himport|prepare' command.
Examples
Section titled “Examples”127.0.0.1:6379> HIMPORT PREPARE person name age cityOK127.0.0.1:6379> HIMPORT PREPARE(error) ERR wrong number of arguments for 'himport|prepare' commandCompatibility
Section titled “Compatibility”A Redis 8.10 command.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.