📜  phoenix ecto preload - Elixir 代码示例

📅  最后修改于: 2022-03-11 14:48:01.828000             🧑  作者: Mango

代码示例1
# Use a keyword list to preload nested associations as well
posts = Repo.preload posts, [comments: [:replies, :likes], authors: []]