This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

stefanluptak
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
peck
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
sahilpaudel
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
jdumont
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
nathany
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
michallepicki
Hi! When debugging slow Ecto queries (I’m using postgres), because Ecto uses named prepared statements which may use a different generic...
New
Lunarmask
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
Morzaram
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
dli
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
sanjeevmalagi1
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
wilkinson4
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
bgpratt2000
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
bgpratt2000
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
joshua.aug
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 Top

dkulchenko
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
Owens
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
halostatue
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
tpitale
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
nhpip
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
Skysoft13
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
ericteubert
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
niamtokik
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
hubertlepicki
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
fireproofsocks
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
sirfitz
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
MarioFlach
Hello, I have a single SQL table looking as follow: create table("git_commits", primary_key: false) do add :oid, :binary, primary_key:...
New
sigu
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
fireproofsocks
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
llong
Environment: Windows 10 Using WSL2 with Ubuntu Server via Windows Terminal to run setup Database URL: ecto://postgres:postgres@l...
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