Db: build* methods are now static. New Where class
Model: support applying static filter to table data