This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
When working with Stripe API (and dashboard), I got so used to their style of IDs.
For customer, it is something like cus_sd9f87gds987, ...
New
Hi everyone. I’m trying to wrap my head around using the CTE functionality in Ecto and I haven’t quite been able to figure it out by look...
New
I have raised an issue at ecto_sql issue_link
Adding it here to reach out to larger community.
I have updated my ecto_sql_3.0 to ecto_s...
New
I’m back with another SQL / database structure question. I feel it’s related to polymorphism, STi and all those concepts, but seems inver...
New
Is there a way to stream data TO the database with Ecto? I’m working on using the COPY command to load CSV data directly into Postgres.
...
New
Hi!
When debugging slow Ecto queries (I’m using postgres), because Ecto uses named prepared statements which may use a different generic...
New
Hi elixir fam! :wave:
I’m running into some interesting errors with trying to implement a custom Postgrex Type Extension and I’m really ...
New
Hey y’all I’m trying to figure out how to write this more eloquently…
I need to query a table of events that are happening this month (...
New
I am creating a schema where the order of the column definitions is relevant due to optimum memory alignment. The table needs to hold a v...
New
Hi,
In my project, I have tables called Posts and Comments.
I have been given the requirement that each post will have multiple comment...
New
Hello,
We recently did some optimizations on a slow query in our system, and found the following article from dba exchange that has a ni...
New
Hello!
I need to do a data visualization task with our database for work and would like to use our existing ecto setup (schemas, repo, e...
New
Hi! I’m super new to ecto and struggling with writing queries without using the postgreSQL views that I learned in college.
So what I’m ...
New
I have code like this:
query = """
select from_user_id, to_user_id from account_relationships ar
where from_user_id in $1
...
New
Trending Over Three Years
I can’t seem to figure out a good way of doing this safely. I need to do a find-or-create, so I first check to see if a given row exists ...
New
Hello all,
Does anyone know if you create a unique_index in postgres for two fields on a table, does that mean you DON’T need to create ...
New
How do I use the PostgreSQL JSON ? operator in Ecto? Assume that I have a table users that has a JSONB field data, and I want to test (in...
New
I’m attempting to replicate an INSERT … SELECT in Ecto. This appears to be supported by both postgres and mysql (I’m using postgres). I’v...
New
Hi,
We are using DBConnection and Ecto with a Postgres DB. Occasionally we get errors like below in the Postgres log:
2022-09-17 12:36:...
New
I am try to migrate elixir those days, so I have simple project to create GraphQL API’s with Phoenix. When I start the server like " iex...
New
I have a unqiue index over three columns where one is computed ([:file_id, :request_id, "(accessed_at::date)"]) and I can’t figure out ho...
New
Hi everyone!
I am playing with Ecto and PostgreSQL for my project, and, usually, I like to create some views to make my life easier when...
New
I have a fairly peculiar use case. Whenever a HTTP request is being handled in Phoenix app, I want to, from a plug mounted in router, set...
New
Sorry for some similar posts – I’m narrowing the problems. I’m trying to get my PostGres database setup using Ecto migrations. This inc...
New
Hi Everyone! :slight_smile:
I’d really appreciate if I could get some help with this issue I ran into.
I’m trying to allow searching on...
New
Hello, I have a single SQL table looking as follow:
create table("git_commits", primary_key: false) do
add :oid, :binary, primary_key:...
New
We have an application running on EC2 which connects to a database on RDS.
Over the past couple of weeks, we noticed the connections to ...
New
I’m wondering if I’ve wandered into trouble with my Ecto schemas. I have one that describes files in S3. For convenience (e.g. for REST...
New
Environment:
Windows 10
Using WSL2 with Ubuntu Server via Windows Terminal to run setup
Database URL: ecto://postgres:postgres@l...
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







