4.3 Check for Duplicate Data

The last thing I want to look at is some common functionality to prevent duplicate data. If the user enters the same feed URL twice, we don't want to add duplicate data to our articles page. That would be annoying. So in this lesson, I will show you a simple way to avoid saving duplicate data to the database.