Pau Riosapaugramming.comยทFeb 19, 2024Things I Learned using Ecto.Schema in 2024 (Part 1)The problem I have two schemas, coffees and orders wherein I want to get the recent completed order from each coffees First solution defmodule Schemas.Coffee do # ... more code has_many :completed_orders, Schemas.Order @spec coffee_query...43 readsElixirAdd a thoughtful commentNo comments yetBe the first to start the conversation.