Download the PHP package phucnh-nfq/dbal-clickhouse without Composer
On this page you can find all versions of the php package phucnh-nfq/dbal-clickhouse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phucnh-nfq/dbal-clickhouse
More information about phucnh-nfq/dbal-clickhouse
Files in phucnh-nfq/dbal-clickhouse
Package dbal-clickhouse
Short Description Doctrine DBAL driver for ClickHouse
License MIT
Homepage http://github.com/phucnh-nfq/dbal-clickhouse
Informations about the package dbal-clickhouse
If you want to become a maintainer of this package -- please, contact me via [email protected]
Doctrine DBAL ClickHouse Driver
Doctrine DBAL driver for ClickHouse -- an open-source column-oriented database management system by Yandex (https://clickhouse.yandex/)
Driver is suitable for Symfony or any other framework using Doctrine.
Installation
Initialization
Custom PHP script
driverOptions
are special smi2/phpclickhouse
client settings
Symfony
configure...
...and get from the service container
Usage
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-pdo Version *
ext-pcre Version *
doctrine/dbal Version ^2.13|^3.2
smi2/phpclickhouse Version ^1.4