You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, there guys, I've been using your project for some time and it seems amazing by now. Thank you for your effort.
I was wondering if I am missing something and there is actually a way to filter by joined tables. So far following the examples, it doesn`t seem possible by using Relation().
type Product struct {
ID int64
Name string
Tags []GrTag `pg:",many2many:product_tags"`
}
In the following model, while selecting products with their tags, how can I sort by tag names, I tried something like
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, there guys, I've been using your project for some time and it seems amazing by now. Thank you for your effort.
I was wondering if I am missing something and there is actually a way to filter by joined tables. So far following the examples, it doesn`t seem possible by using Relation().
In the following model, while selecting products with their tags, how can I sort by tag names, I tried something like
but this will filter out just tags by the name, not products by the tag name
Beta Was this translation helpful? Give feedback.
All reactions