Always wanted to know how to write a query filter? Watch and learn.