Now we can get filtered results from a query which goes to the db.