1. You could use JOINs for that (many to many rela...
# community-help
f
1. You could use JOINs for that (many to many relationships between stores / products) https://typesense.org/docs/27.1/api/joins.html#one-to-one-relation 2. If you do want to go with the nested objects, you'd have to have an
id
key and
sizes
key like
Copy code
instockinstores: {
 id: string;
 sizes: number[]
}
Keep in mind this is typescript syntax. For Typesense syntax you'd have to have instockinstores be an
object[]
and then id and sizes be nested under it
🙏 1