This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

foundart
I have a situation similar to create and insert 2 associated models. In my case User has_many Others and Others belongs_to User. I want...
New
Fl4m3Ph03n1x
Background I am studying the Transaction Script pattern, namely from a book called “Learning Domain Driven Design”. For those of you u...
New

Last Three Year's Trending Top

thiagomajesk
Hi everyone, it seems I can’t get out of this forum this week :sweat_smile: (you guys are awesome btw). So, I got surprised by this beha...
New
gbaird
I am trying to code a bank transfer service using Elixir/Erlang, Postgrex and PostgreSQL. Erlang v 26 Elixir v 1.16.0 Postgrex v 0.17....
New
stiang
I have a “smart” put function that takes care of saving (creating or updating) a resource and all its sub resources automatically. It wor...
New

Trending Over Three Years Top

ryanditjia
Hello everyone, when I run my unit test, I sometimes (not all the time) run into this error: (Postgrex.Error) ERROR 40P01 (deadlock_det...
New
Fl4m3Ph03n1x
Background PS: the following situation describes an hypothetical scenario, where I own a company that sells things to customers. I have ...
New
hudsonbay
I’m in a situation where I have to insert 9000 registries in bulk into the database with Ecto in PostgreSQL. I already have a dedicated ...
New
thojanssens1
I have to convert the following code using Repo.insert/2 def create_question(attrs) do %Question{} |> Question.creation_changeset...
New
silverdr
I would like to ask for a “best practice” suggestion on how to wrap a user registration process in a transaction that will either: stor...
New
gilbertosj
Good Morning, Could help me improve the code and apply a “transaction”, if one goes wrong … I have never worked with “transaction”, so...
New
sezaru
Hello, Sometimes in my system, I want to change something in the database and also do some other side-effect, for example, filling a cac...
New
tanweerdev
I have a multi exactly below %Ecto.Multi{ names: #MapSet<[:record_0]>, operations: [ record_0: {:changeset, #Ecto.Cha...
New
VeljkoMaksimovic
Hi everyone. When running Ecto.insert_all([list_of_maps]) will ecto send one request to DB, or one insert request per map in the list? L...
New
apr
Hello, I realize this is a DB question, but it involves Ecto and Postgrex so I thought I’d post here. Suppose I have a multi with many ...
New
Laetitia
Hi everybody, I have 2 entities: parent and child. The parent entity have a life cycle so it transits from one status to another a.k.a ...
New
Laetitia
Hi guys, I would like to know if anybody could help me. I have a genserver that calls a TaskSupervisor to start tasks like this: task...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement