diff --git a/src/InfluxDB/Query/Builder.php b/src/InfluxDB/Query/Builder.php index b91d8f0..4927176 100644 --- a/src/InfluxDB/Query/Builder.php +++ b/src/InfluxDB/Query/Builder.php @@ -292,12 +292,13 @@ public function getQuery() /** * Gets the result from the database (builds the query) * + * @param array $param * @return ResultSet * @throws \Exception */ - public function getResultSet() + public function getResultSet(array $param = []) { - return $this->db->query($this->parseQuery()); + return $this->db->query($this->parseQuery(), $param); } /**