4 ms·
I would also mention the changesets which are the best way to represent data changes, it's so useful that I use it outside of databases. The main issue for me
by realusername 5y ago
I would also mention the changesets which are the best way to represent data changes, it's so useful that I use it outside of databases.
The main issue for me with ecto is the lack of helpers with mass inserts, thinks like activerecord import & in_batches of activerecord would be nice.
- nesarkvechnep 5y agoBut there’s Multi which is useful in a lot of cases.
- louissm_it 5y agoChangesets are such a great idea, I always find myself trying to replicate them when working in other environments. If anyone is interested, I found this article showing how to use changesets outside the database: https://elixirfocus.com/posts/ecto-schemaless-changesets/ https://elixirfocus.com/posts/ecto-schemaless-changesets/
- yoran 5y agoI agree. I adopted changesets in my Rails codebase after having used them in Phoenix.