0
我想建立如下:复杂PlayFramework查询
我有类似Pinterest的一个模型,其中一个用户可以按照许多板,每片含了引脚数的。现在,我需要根据用户的跟随行为构建类似于Pinterest的主页Feed的许多新引脚,并按照最新排列的顺序排列。
换句话说,我需要somethign像下面pseudoquery:
Select all the Pins whose Board is contained within currentUser.followedBoards and order by dateAdded Desc and select the first 20;
我有一点问题,与“包含在”部分