support dict style 'where'