robboten
robboten
DTDrizzle Team
Created by robboten on 8/11/2023 in #help
explain relationName please
Could anyone explain how to use relationName when you have many to many for example. Found following on github:
"relationName is already supported, just not documented. So you can use it exactly as you've described. You'll just need to add where clauses to the corresponding with entries."
"relationName is already supported, just not documented. So you can use it exactly as you've described. You'll just need to add where clauses to the corresponding with entries."
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.
11 replies