I took a look at the ORM docs, and it wasn't feasible to build the equivalent SQL query using the ORM without writing most of it in SQL (you can add SQL snippets to ORM queries). He's unexperienced ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する