feat(beforeWhere): create filter"
fix(beforeWhere)fix type
test(beforeEach): beforeWhere fully tested