This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
I couldn’t find an answer to this from searching so thought I would make a post about it.
I’m trying to get a list of Users who have not...
New
I’m working on a game app that has an answers table and a categories table. This relationship is many to many.
The admins for the app ca...
New
I’m learning Ecto, and having issues trying to update following the docs. In my repo User has_many UserOrganisations, and there’s boolea...
New
Hi,
Table A:
Dishes: id and name fields.
Table B:
Users: with a field called favorite_dishes holding an array of id’s (of dishes).
I...
New
Hello.
I have a Parent Absinthe & Ecto schemas and there’s an embedded child object associated to it (1:1, so the fully inflated obj...
New
Central to my app is the Account. I have a lot of schemas that belongs_to Account. I like including corresponding has_one/has_many on Acc...
New
Trending Over Three Years
I have a query like:
Alarms
|> preload(:event)
|> order_by([{:desc, :event[:id]}])
|> Repo.all()
You can see what I am tryi...
New
I have a transaction that updates upto 3 tables and it became long and ugly. I’d love to learn more to be able to write cleaner and more ...
New
Hello! I need to update a dynamically built query such that items with photos order before items without photos. A Photo belongs to an It...
New
Hello everyone!
Something happened at work today and it kinda got me off-guard because I was expecting different behavior from Ecto. Wha...
New
I am trying to learn the basics of Ecto from Elixir School and I see in their examples that using this syntax Repo.all(from m in Movie, p...
New
I’m setting up my schemas and migrations in a Phoenix app. I’m trying to create a many-to-many relation from a table called instances to ...
New
How to pass a changeset in phoenix form?
I use put_assoc function as I get the user struct from the cureent user that are assign to sess...
New
I’ve got an existing database with an interesting permissions model. The permissions schema are based on a php library called Spatie Perm...
New
Hi,
It looks like Ecto prevents, by default, to change an association because on_update is :raiseby default.
I naively changed my belon...
New
Hi!
I need your help! I am trying to understand tagging system(like post has tags). But I don’t understand very well.
For example, User...
New
Hello folks,
I am currently trying to take an object and return some data on it via an endpoint. This object, an account, has many accou...
New
I’m quite new to Elixir and Phonex but I felt in love with it so much. After books (Programming Elixir |> 1.6 and Programming Phoenix ...
New
Hi everyone,
So the funny things is that I get no associations even though I specified the relationship in my migrations and my schema. ...
New
Hello there, I’m getting some problems in validate associations in Ecto. I have two schemas, Video and Playlist (a playlist can have many...
New
I have an Event that has_one Number (the schema and migrations are shown simplified below). I can use put_assoc when inserting a number t...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








