public function sql($sql, $attributes = [])
    {
        try {
            $this->statement = $this->resolveConnection()->prepare($sql);

            if (!empty($attributes)) {
                $this->statement->execute($attributes);
            } else {
                $this->statement->execute();
            }
        } catch (\PDOException $e) {
            throw new Exception($e->getMessage());
        }

        return $this;
    }