Added Where function for database.

So we can get Entityis where some field = value