Although if your requirements were to only return the top keyword for each book that is accomplishable via preload by utilizing distinct
.
Details are in this post: Ecto and preloading most recent record from association
Although if your requirements were to only return the top keyword for each book that is accomplishable via preload by utilizing distinct
.
Details are in this post: Ecto and preloading most recent record from association