Join Discord
Powered by
is there a way to lookup resources via
# spicedb
m
Mark
01/11/2024, 9:05 AM
is there a way to lookup resources via partial string matching? Eg. if I have a bunch of resources I want to match that start with some prefix:
Copy code
ID: pdf1 ID: pdf2 ID: pdf3
I would like to retrieve them via their common prefix
pdf
Is this possible with SpiceDB?
v
vroldanbet
01/11/2024, 9:34 AM
no, that's not supported
vroldanbet
01/11/2024, 9:34 AM
instead you could model it as a type definition, and do lookup resources on the specific type
m
Mark
01/11/2024, 6:19 PM
Okay, thanks
Previous
Next