Latest #repo Threads Top

Trolleger
Hi! I was reading the docs for Ecto.repo’s insert. Ecto.Repo — Ecto v3.13.5 but there was a specific part that stood out to me, I should ...
New
matheus.almeida
Hello everybody, I’m currently working on a project that has around 200+ test files. I’m running the tests using the following command: ...
New
Fl4m3Ph03n1x
Background I created a default Phoenix application with Ecto using PSQL as a database. In this basic project I noticed there is a file un...
New
KRojH
Hi dear friends I am new in Elixir I made a table using Migration also I create a schema the program is in continue defmodule Houshol...
New
dimitarvp
Hello, I am looking to more closely understand the advantages of the Repo.transact pattern and the quoted disadvantages of Ecto.Multi. ...
New
Valeriy
Hi, my Phoenix app works with several remote PostgreSQL repos and connects to them one-by-one: connect - get data - disconnect. The code...
New
prkhrkat
Hey Guys, I’m stuck on something and would appreciate some help. I have a list of objects and want to insert all of them at once and re...
New
coen.bakker
I read the Hexdocs about contexts in Phoenix. Now that I revisit my own code, across different projects, I notice that I sometimes use Re...
New
NaN
Project name : with_db DB name : with_db_dev Schema : Bubble Ive created a new FN in the controller file in buble_conntroller.ex def...
New
Stratus3D
I’ve seen this pattern used often in the Ecto documentation, Phoenix controller templates, and numerous other places. It’s not clear to m...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

matheus.almeida
Hello everybody, I’m currently working on a project that has around 200+ test files. I’m running the tests using the following command: ...
New
Trolleger
Hi! I was reading the docs for Ecto.repo’s insert. Ecto.Repo — Ecto v3.13.5 but there was a specific part that stood out to me, I should ...
New

Last Three Year's Trending Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
dimitarvp
Hello, I am looking to more closely understand the advantages of the Repo.transact pattern and the quoted disadvantages of Ecto.Multi. ...
New
Stratus3D
I’ve seen this pattern used often in the Ecto documentation, Phoenix controller templates, and numerous other places. It’s not clear to m...
New
Valeriy
Hi, my Phoenix app works with several remote PostgreSQL repos and connects to them one-by-one: connect - get data - disconnect. The code...
New
Fl4m3Ph03n1x
Background I created a default Phoenix application with Ecto using PSQL as a database. In this basic project I noticed there is a file un...
New
KRojH
Hi dear friends I am new in Elixir I made a table using Migration also I create a schema the program is in continue defmodule Houshol...
New

Trending Over Three Years Top

benonymus
Hey I am doing an update like this: reminder = Ecto.Changeset.change(reminder, counter: reminder.counter + 1, ...
New
abratashov
Tell me please how to mock/stub methods of Repo module for my tests? For ex.: link = Repo.get_by(Link, short_url: url) db_count = Rep...
New
fireproofsocks
I’m hoping for some input from the wiser folks, but I’m wondering if there are some best practices when setting up an umbrella app with m...
New
chaitanya
Hello, I am very new to Phoenix. I am trying to develop an app with Mongodb as database. i have now installed latest version of Phoenix ...
New
lkananowicz
Hi, I am looking for a way to monitor connections pool of Ecto repo. Basically we want to measure maximum capacity of our application, so...
New
itopiz
Hi, I am developing an API that fetches data from multiple remote databases. For each of these databases, an Ecto.Repo is configured at ...
New
juanldslv
Hi guys, I hope that all are good, now, Im trying to make a query into a function but when I sent the query for repo.all, this is the ans...
New
ccgintranet
Hello everyone, First post here and I am hoping someone can help expand my knowledge as I am clearly not handling a situation we are hav...
New
thojanssens1
I have to convert the following code using Repo.insert/2 def create_question(attrs) do %Question{} |> Question.creation_changeset...
New
woohaaha
I’m trying to wrap my head around using mocks in Elixir. There are a lot of blog posts on the subject but I’m not seeing any that address...
New
bian2510
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
antoniosb
I have an elixir project that does some crawling and saves the crawled data to a postgres database, called Tenjin. Tenjin contais all th...
New
rafbgarcia
I’m trying to do this: Main app has the database. A package will hold a GraphQL API and its resolvers that use that database. How can ...
New
Velychkanych
How can I return to Repo.update only those fields that have been updated so as not to return the entire structure. example : def change...
New
benonymus
Hey I have a user entity in my postgres database and I am displaying it with the generated index method: def index(conn, _params) do ...
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