Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Optimize the getResultSet method #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/InfluxDB/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down