explain relationName please
Could anyone explain how to use relationName when you have many to many for example. Found following on github:
https://github.com/drizzle-team/drizzle-orm/issues/811
But doesn't explain how to use where. I have found some information about how to add it in relations, but not in the actual query.
https://github.com/drizzle-team/drizzle-orm/issues/811
But doesn't explain how to use where. I have found some information about how to add it in relations, but not in the actual query.
GitHub
Describe what you want I have a use case where I need to query related data that is not always related by the same fields (i.e., it has different relations "types"), but I need to always ...