Solution: Customize Your Repo Module
Go over the solution to the Customizie Your Repo problem.
We'll cover the following...
Solution
We’re going to add a function called newest
in the Repo module that takes a table name as an argument and returns the :inserted_at
value for the most recently-added record in that table.
Access this course and 1400+ top-rated courses and projects.