2022-12-25 WHERE句でmany2manyの関係にあるテーブルのカラムを使いたい golang gorm joinをゴリゴリ書くことになりそうです。 How to query a many2many relationship with a Where clause on the association? · Issue #3287 · go-gorm/gorm · GitHub How to query a many2many relationship with a Where clause on the association with go-gorm? - Stack Overflow