It pulls all the records from db.