{"categories":["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"],"complexity":"O(1)","description":"Return the number of elements in a vector set.","duplicateOf":"head:data-ai-metadata","group":"vector_set","location":"body","since":"8.0.0","syntax_fmt":"VCARD key","title":"VCARD","tableOfContents":{"sections":[{"id":"required-arguments","title":"Required arguments"},{"id":"related-topics","title":"Related topics"},{"id":"redis-software-and-redis-cloud-compatibility","title":"Redis Software and Redis Cloud compatibility"},{"id":"return-information","title":"Return information"}]},"codeExamples":[]}
vcard(
key: String// the name of the key that holds the vector set
) → long// the number of elements in the vector setvcard(
key: byte[]// the name of the key that holds the vector set
) → long// the number of elements in the vector setvcard(
key: String// the name of the key that holds the vector set
) → long// the number of elements in the vector set
vcard(
key: K// the key of the vector set
) → Long// the number of elements in the vector set, or 0 if the key does not exist @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vcard/">Redis Documentation: VCARD</a>
vcard(
key: K// the key of the vector set
) → RedisFuture<Long>// the number of elements in the vector set, or 0 if the key does not exist @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vcard/">Redis Documentation: VCARD</a>
vcard(
key: K// the key of the vector set
) → Mono<Long>// the number of elements in the vector set, or 0 if the key does not exist @since 6.7 @see <a href="https://redis.io/docs/latest/commands/vcard/">Redis Documentation: VCARD</a>