ClickhouseBuilder
ClickhouseBuilder copied to clipboard
Fluent queries builder for Clickhouse. Also has integration with Laravel / Lumen.
Can generate a Join with on clause instead of USING? It will be ok also by a raw expression. Is it possibile?
I would like to fork and modify this repo to better suit my needs but seems like I can not legaly modify and use your code without any open source...
When trying to do ``` $builder->join(function (JoinClause $join) { $join->query() ->select('main_cpm') ->table('campaigns') ->on('campaigns.campaign_id', '=', 'user_event_agr.campaign_id'); }) ``` I get the following ` Call to undefined method PhpClickHouseLaravel\Builder::newQuery()`
fix final=false bug
Optimize the group by count calculation
Where: https://github.com/the-tinderbox/ClickhouseBuilder/blob/master/src/Query/Enums/Operator.php Solution: public const NOT_EQUAL_TO = '';
Could you please explain if I run the query: DB::connection('clickhouse')->select(raw('select count(*) as summary from table')); I get the result like this array:1 [ 0 => array:1 [ "summary" => "4309900"...
Is it possible to set the session_id parameter? Doesn't work with options array ``` 'options' => [ 'session_id' => "my_session_key" ] ```