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.
Related topics
Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Standard |
✅ Standard |
Return information
Integer reply: 0 if the key doesn't exist or the number of elements contained in the vector set.