Skip to content

Commit 1ad9173

Browse files
Added query builder
1 parent cfe34c2 commit 1ad9173

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/InfluxDbFacade.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,14 @@ public static function writePoints(
105105

106106
return true;
107107
}
108+
109+
/**
110+
* Get the query builder of the database.
111+
*
112+
* @return \InfluxDb\Query\Builder
113+
*/
114+
public static function getQueryBuilder(): \InfluxDb\Query\Builder
115+
{
116+
return static::getFacadeRoot()->getQueryBuilder();
117+
}
108118
}

0 commit comments

Comments
 (0)