This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Im trying to understand this section of the ecto documentation:
https://hexdocs.pm/ecto/Ecto.Query.html#preload/3-preload-functions
For...
New
I’m doing a fairly complex join where I want to preload an array of ContentMediaItems (called :contents) that are nested in an associatio...
New
I have a nested preload with a has_many relation and I would love to filter these references by a join I did on the top level, Here is my...
New
If I have a schema like: Posts has many Comments has many Users
Ecto will run three queries when preloading comments and users for a sin...
New
I have a couple of questions around preloading, please.
I’m using the ‘hierarchical relationships within a single schema’ example in the...
New
Trending Over Three Years
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
Say I have the following schemas:
defmodule Articles do
schema "articles" do
field(:name, :string)
embeds_one(:foo, Foo)
end...
New
Hi guys I’m having troubles with one preload.
I’m creating one property and I’m adding preloads, but when not have any register for has_...
New
Hi guys just wondering is it possible to preload but with a condition from the main query
Let’s say I have a model named Post. A Post ha...
New
I’m trying to replicate the following PostgreSQL query with ecto:
SELECT *
FROM (SELECT * FROM event LIMIT 1000) as e
LEFT JOIN event_ru...
New
related resouces: simplest-way-to-do-a-recursive-self-join and schema example and details for this question. Here is the schema
defmodul...
New
Hello all,
I’m doing a DB call for the index page of a WhatsApp-style chat app.
I have ChatsUsers -> Chats -> Messages.
I need t...
New
Hey
I have a users - teams many to many setup through a users_teams table.
In the team schema I have the following fields mapping to th...
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
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







