Peter Ullrich<p>Just published a short blog post about how to tell Ecto to not load all fields by default using the "load_in_query" option
<a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23ElixirLang" target="_blank">#ElixirLang</a>
This helps if you store a lot of data in a single field, like e.g. jsonb or array columns, and don't want to load it all the time
<a href="https://peterullrich.com/stop-loading-large-ecto-fields-by-default" rel="nofollow noopener" target="_blank">peterullrich.com/stop-loading...</a><br><br><a href="https://peterullrich.com/stop-loading-large-ecto-fields-by-default" rel="nofollow noopener" target="_blank">Stop Loading Large Ecto Fields...</a></p>