Latest #repo Threads 
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
Getting error: could not lookup Ecto repo Raven.Repo because it was not started or it does not exist
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
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
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
Hello,
I am looking to more closely understand the advantages of the Repo.transact pattern and the quoted disadvantages of Ecto.Multi.
...
New
Hi,
my Phoenix app works with several remote PostgreSQL repos and connects to them one-by-one: connect - get data - disconnect. The code...
New
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
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
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
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
This Month's Trending
This Year's Trending
Getting error: could not lookup Ecto repo Raven.Repo because it was not started or it does not exist
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
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
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
Hello,
I am looking to more closely understand the advantages of the Repo.transact pattern and the quoted disadvantages of Ecto.Multi.
...
New
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
Hi,
my Phoenix app works with several remote PostgreSQL repos and connects to them one-by-one: connect - get data - disconnect. The code...
New
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
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
Hey I am doing an update like this:
reminder =
Ecto.Changeset.change(reminder,
counter: reminder.counter + 1,
...
New
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
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
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
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
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
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
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
I have to convert the following code using Repo.insert/2
def create_question(attrs) do
%Question{}
|> Question.creation_changeset...
New
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
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
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
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
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
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
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:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #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
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







