HIMPORT DISCARD
HIMPORT DISCARD name
- Group
- Hash
- Arity
- 3 (exactly, counting the command name)
- HotKV Cloud
- All plans
- On-Premise
- no license needed
HIMPORT DISCARD forgets the list of field names stored under name by
HIMPORT PREPARE. Hashes already made from it are
not changed.
Return value
Section titled “Return value”Integer 1 if the list existed, 0 if not, in RESP2 and RESP3.
Examples
Section titled “Examples”127.0.0.1:6379> HIMPORT DISCARD person(integer) 1127.0.0.1:6379> HIMPORT SET account:5 person a b c(error) ERR no such fieldset127.0.0.1:6379> HIMPORT DISCARD person(integer) 0Compatibility
Section titled “Compatibility”A Redis 8.10 command.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.