Skip to content

Commit

Permalink
Added query builder
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfensdrfer authored Nov 24, 2018
1 parent cfe34c2 commit 1ad9173
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/InfluxDbFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,14 @@ public static function writePoints(

return true;
}

/**
* Get the query builder of the database.
*
* @return \InfluxDb\Query\Builder
*/
public static function getQueryBuilder(): \InfluxDb\Query\Builder
{
return static::getFacadeRoot()->getQueryBuilder();
}
}

0 comments on commit 1ad9173

Please sign in to comment.