Download the PHP package friendsofdoctrine/dbal-clickhouse without Composer
On this page you can find all versions of the php package friendsofdoctrine/dbal-clickhouse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download friendsofdoctrine/dbal-clickhouse
More information about friendsofdoctrine/dbal-clickhouse
Files in friendsofdoctrine/dbal-clickhouse
Package dbal-clickhouse
Short Description Doctrine DBAL driver for ClickHouse
License MIT
Homepage https://github.com/friendsofdoctrine/dbal-clickhouse
Informations about the package dbal-clickhouse
Doctrine DBAL ClickHouse Driver
Doctrine DBAL driver for ClickHouse - an open-source column-oriented database management system by Yandex
Driver is suitable for Symfony or any other framework using Doctrine.
- v3 supports Doctrine DBAL 4+ and PHP 8.1+
- v2 supports Doctrine DBAL 3+ and PHP 8.0+
- v1 supports Doctrine DBAL 2+ and PHP 7.1+
Installation
Initialization
Custom PHP script
driverOptions
are special smi2/phpclickhouse
client settings
Symfony
configure...
...and get from the service container
Usage
Create database
Create new table
Insert
Select
Select via Dynamic Parameters and Prepared Statements
Additional types
If you want to use Array(T) type, register additional DBAL types in your code:
or register them in Symfony configuration file:
Additional type BigIntType
helps you to store bigint values as Int64/UInt64 value type in ClickHouse.
You can override DBAL type in your code:
or use custom mapping types in Symfony configuration:
More information in Doctrine DBAL documentation:
All versions of dbal-clickhouse with dependencies
ext-pcre Version *
ext-mbstring Version *
doctrine/dbal Version ^4.0
smi2/phpclickhouse Version ^1.0