josevalim
Creator of Elixir
See the release notes: https://github.com/elixir-ecto/ecto/releases/tag/2.2.0-rc.0
To try it in your projects: {:ecto, "~> 2.2.0-rc", override: true}.
Trending in News
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
Hah, I was just typing up a post!
My post was:
Just wanted to note that an awesome feature has been added to Ecto 2.2.0-rc.0 that was just released.
select_merge(andselect(blah, merge(bloop)).This is a feature that has been wanted a few times here and so just want to point it out (I’ll be rewriting and simplifying a lot of my complex queries soon!).
See the docs for it at: Ecto.Query – Ecto v2.2.0-rc.0
OvermindDL1
Also, is it just me or are the docs showing “Toggle Sidebar” floating on the top sidebar button? It looks like the
sr-onlycss is missing…josevalim
Do a hard refresh on the docs page.
And I would love some feedback on the select_merge feature.
OvermindDL1
Hmm, just did. Also told chrome to ignore the cache and fetch on every request and it still is not getting a css where
.sr-onlyexists. it is currently requestinghttps://hexdocs.pm/ecto/2.2.0-rc.0/dist/app-091c05798a.cssif that helps.Initially it looks awesome! It will so very much simplify a lot of my complex monstrous builders to this old Oracle horror, plus I can return less data in many areas now too instead of dummy data!
OvermindDL1
Also, have you thought about supporting this syntax for merging selects? It seems much more readable to me (
select_mergecan get lost in the keyword lists in my eyes now that I’m using it andmergeseems foreign):law
Yayyyy - Having on_conflict support a constraint name is going to replace a bunch of manual upserting in my codebase, and being about to use associations with put_change is also excellent.
Thank you
sergio
I love this change the most:
Thanks for the hard work!
OvermindDL1
It’s fixed now, probably just had to propagate through the cloudflare CDN or so. ^.^
axelson
[Ecto.Migration] Add reversible execute/2 to migrationsBlew my mind. Is Ecto able to automatically determine if the arbitrary SQL is reversible? Or does it just skip that execution on rollback?
Edit: nevermind. I see that it is
execute/2, the second argument is what you execute on rollback. Makes sense.ijunaidfarooq
while you are rewriting already will you please mention here? one of use case as well? that how and where it helped you?