Archivo de la etiqueta: ecto

Experimenting with inherited tables in Ecto

I’ve been working on a personal project with some mates for the past few months, and I’ve been mostly responsible for building our backend with Phoenix. It’s come to a time where we need to implement some sort of "comments … Sigue leyendo

Publicado en Elixir | Etiquetado , , , , | Comentarios desactivados en Experimenting with inherited tables in Ecto

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