VCARD

Syntax
VCARD key
Available since:
Redis Open Source 8.0.0
Time complexity:
O(1)
Compatibility:
Redis Enterprise and Redis Cloud compatibility

Return the number of elements in the specified vector set.

VCARD word_embeddings
(integer) 3000000

Required arguments

key

is the name of the key that holds the vector set.

Redis Enterprise and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active

Return information

Integer reply: 0 if the key doesn't exist or the number of elements contained in the vector set.
RATE THIS PAGE
Back to top ↑