Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

OBJECT ENCODING

Syntax
OBJECT ENCODING key
Available since:
Redis Open Source 2.2.3
Time complexity:
O(1)
ACL categories:
@keyspace, @read, @slow,

Returns the internal encoding for the Redis object stored at <key>

Redis objects can be encoded in different ways:

All the specially encoded types are automatically converted to the general type once you perform an operation that makes it impossible for Redis to retain the space saving encoding.

RESP2 Reply

One of the following:

RESP3 Reply

One of the following:


RATE THIS PAGE
Back to top ↑