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;
我有一點問題,與「包含在」部分