Is there an example on how I can use Typesense wit...
# community-help
j
Is there an example on how I can use Typesense with Firebase Subcollections?
j
The extension does not handle sub-collections. So you would have to add the sub-collection ID as an attribute inside each document in a flattened collection and sync that to Typesense
So if you have something like
users/<user_id>/profile
you would convert that to
user_profiles
and have
user_id
as an attribute inside each document
j
Ok, will do it that way. Thank you 👌
👍 1
a
@Janick Fischer You can do permissions like that too. viewable_by_group=test,admin,user
j
Yes I think so, I did the following:
So you can achieve this with `category:= [
Running Shoes, Men
, Sneaker]`