ecto_sql icon indicating copy to clipboard operation
ecto_sql copied to clipboard

SQL-based adapters for Ecto and database migrations

Results 15 ecto_sql issues
Sort by recently updated
recently updated
newest added

### Elixir version 1.12.2 ### Database and Version PostgreSQL 14.1 ### Ecto Versions ecto 3.9.2, ecto_sql 3.9.1 ### Database Adapter and Versions (postgrex, myxql, etc) postgrex 0.16.0 ### Current behavior...

Kind:Bug

Companion ecto PR: https://github.com/elixir-ecto/ecto/pull/3929

This change will allow implementing [support](https://github.com/elixir-ecto/ecto/pull/3638) for associations with composite foreign keys.

### Elixir version 1.17.0-dev ### Database and Version PostgreSQL 14 ### Ecto Versions Ecto 3.11 ### Database Adapter and Versions (postgrex, myxql, etc) postgrex 0.17.5 ### Current behavior I have...

Kind:Bug

I'm curious to hear from folks about the impact and whether it's worth adding such a feature at all. If you want to try it on your codebase, follow these...

Currently, one cannot pass a list of `Tds.Parameter` structs to `query`. They must be basic values/structs. When one has a large handwritten SQL query, it is nice to use named...

### Elixir version Elixir 1.14.5 ### Database and Version PostgreSQL 13.11 ### Ecto Versions 3.11.1 ### Database Adapter and Versions (postgrex, myxql, etc) 0.17.4 ### Current behavior After migrating to...

Kind:Bug

companion to https://github.com/elixir-ecto/ecto/pull/4384

Adds a new `:constraint_handler` to allow customizing adapter error handling, that can be passed as a shared option to repo functions, e.g. `MyRepo.insert(..., constraint_handler: {MyCustomHandler, :to_constraints, []})`, but also passed...

### Elixir version 1.16.2 ### Database and Version PostgreSQL 14.9 ### Ecto Versions ecto: 3.11.2, ecto_sql: 3.11.3 ### Database Adapter and Versions (postgrex, myxql, etc) postgrex: 0.18.0 ### Current behavior...

Kind:Bug