add multiple where clauses at once

with test and doc