src/Db/Command.php
protected function internalExecute($sql, $params = [], $lazy = true)
    {
        return isset($this->connection)
            ? $this->connection->executeSql($sql, $params, $lazy)
            : $this->db->executeSql($sql, $params, $lazy);
    }
protected function internalExecute($sql, $params = [], $lazy = true)
    {
        return isset($this->connection)
            ? $this->connection->executeSql($sql, $params, $lazy)
            : $this->db->executeSql($sql, $params, $lazy);
    }
Execute SQL statement internally
@param string $sql
@param array  $params
@param bool   $lazy
@return ExtendedPromiseInterface