Create a where list with sliced where conditions.

        :type wheres: list
        :type offset: int
        :type length: int

        :rtype: list

def _slice_where_conditions(self, wheres, offset, length):
        """
        Create a where list with sliced where conditions.

        :type wheres: list
        :type offset: int
        :type length: int

        :rtype: list
        """
        where_group = self.get_query().for_nested_where()
        where_group.wheres = wheres[offset : (offset + length)]

        return {"type": "nested", "query": where_group, "boolean": "and"}