HIMPORT DISCARDALL

HIMPORT DISCARDALL
Available since:
Redis Open Source 8.10.0
Time complexity:
O(N) where N is the number of session-local fieldsets.
ACL categories:
@hash, @slow,
Compatibility:
Redis Software and Redis Cloud compatibility

Removes every fieldset held by the current connection, discarding all definitions previously created with HIMPORT PREPARE.

Examples

> HIMPORT PREPARE u name email age
OK
> HIMPORT PREPARE o id total
OK
> HIMPORT DISCARDALL
(integer) 2

Redis Software and Redis Cloud compatibility

Redis
Software
Redis
Cloud
Notes
❌ Standard
❌ Active-Active
❌ Standard
❌ Active-Active

Return information

Integer reply: the number of fieldsets removed.

See also

HIMPORT PREPARE | HIMPORT DISCARD

RATE THIS PAGE
Back to top ↑