Determining if a resource has any subject with a p...
# spicedb
n
Hi Team, The lookupsubjescts api provides all the data for a particular permission. I need to find at least one data is being returned or not. Currently if I have 3k data, as I don't need all of them , is there any way to have a pagination or count ? Or is there any other APIs that would give the same. Any suggestions would be appreciated.
v
Hey @Nandy , pagination support for
LookupSubjects
is currently work in progress, so there isn't any way at the moment unfortunately. I'd suggest following https://github.com/authzed/spicedb/pull/1379
j
@vroldanbet is there a RFC around getting just counts, without results?
v
no RFC at the moment, no
5 Views