Today I Learned

A Hashrocket project

Ready to join Hashrocket? Find Openings here and apply today.

Get the last record with Ecto

Repo.one(from x in MyApp.Model, order_by: [desc: x.id], limit: 1)
Looking for help? At Hashrocket, we 💜 Elixir! From our many Elixir client projects, to sponsoring the Chicago Elixir Meetup, to the source code for this application, we are invested in this community. Contact us today to talk about your Elixir project.