protected function queryModify(string $sql, array $params = [], array $options = []): int {
        $options += [Db::OPTION_FETCH_MODE => 0];
        $stm = $this->query($sql, $params, $options);
        return $stm->rowCount();
    }