FriendsOfDoctrine / dbal-clickhouse

Doctrine DBAL driver for ClickHouse database
GNU General Public License v3.0
98 stars 82 forks source link

Not provided doctrine types for nullable database type #14

Closed demenkov closed 6 years ago

demenkov commented 6 years ago

Such as

etc.

demenkov commented 6 years ago

It isn't documented yet, but exists https://github.com/yandex/ClickHouse/issues/867

mochalygin commented 6 years ago

@demenkov How does it work? Where syntax examples can be found?

demenkov commented 6 years ago

@mochalygin

some info can be found here https://github.com/yandex/ClickHouse/blob/933313aea3d4fa1c217e4191b005055cf6caad0a/doc/example_datasets/nyc_taxi.md

sorry, I can't find example for arrays, only issues such as https://github.com/yandex/ClickHouse/issues/1028

argayash commented 6 years ago

@demenkov @mochalygin I think it's a good idea to use the notnull option in false mode to support Nullable ClickHouse types

added test