dwyl / learn-postgresql

🐘 Learn how to use PostgreSQL and Structured Query Language (SQL) to store and query your relational data. 🔍
211 stars 23 forks source link

Avoid fetching data from API if inserted_at is today #67

Open nelsonic opened 5 years ago

nelsonic commented 5 years ago

To avoid fetching the same data from the API more than once per day, we need a query that checks when data was last fetched.