Archivo de la etiqueta: has_many

Filtering has_many relationships in Ecto

This is sot-of a follow up to my last post, about self-referencing many_to_many relationships using Ecto. I find myself in a scenario where I have a User: # User model defmodule MyApp.User do use MyApp.Web, :model alias MyApp.Contact schema “users” … Sigue leyendo

Publicado en Uncategorized | Etiquetado , , , | Dejar un comentario