No. But the intersection of sets does return the cardinality of the
resulting set already.
> 2) Could we have this kind of linked data structure? below
> Set1 = { "value1", "value2" , "value3", {"Set2"} }
> Set2 = { "value10", "value12" , "value14", {"Set5"} }
> ...
> Set5 = { "value20", "value21" , "value22" }
> if I want to evaluate scard of Set1, then it should evaluate accordingly.
This has been discussed before, and the resulting discussion basically
lead to: multi-layered data structures are not necessary or desired at
this time. Search the archives for more information.
Regards.
- Josiah
Hi All1) Do Redis supports nesting of commands like scard sinter "ASet" "BSet" ?
2) Could we have this kind of linked data structure? belowSet1 = { "value1", "value2" , "value3", {"Set2"} }Set2 = { "value10", "value12" , "value14", {"Set5"} }...Set5 = { "value20", "value21" , "value22" }
if I want to evaluate scard of Set1, then it should evaluate accordingly.
Thanks,
Sandy --
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To post to this group, send email to redi...@googlegroups.com.
To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.