Download the PHP package mochalygin/doctrine-dbal-clickhouse without Composer
On this page you can find all versions of the php package mochalygin/doctrine-dbal-clickhouse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mochalygin/doctrine-dbal-clickhouse
More information about mochalygin/doctrine-dbal-clickhouse
Files in mochalygin/doctrine-dbal-clickhouse
Package doctrine-dbal-clickhouse
Short Description Doctrine DBAL driver for ClickHouse
License MIT
Homepage http://github.com/friendsofdoctrine/dbal-clickhouse
Informations about the package doctrine-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 doctrine-dbal-clickhouse with dependencies
ext-pdo Version *
ext-pcre Version *
doctrine/dbal Version ^2.7
smi2/phpclickhouse Version ^1.0