ClickHaskell

built with nix

ClickHaskell is a set of Haskell libraries and (WIP)clickhouse-lock CLI
which allows you to build reliable integrations with ClickHouse DBMS

Library API allows you to:

  1. (WIP) naturally validate backward compatability
    between application and DBMS on CI/CD

  2. avoid manual testing of queries-parsers matching

  3. generate encoders/parsers transparently

  4. generate data mappers on reading/writing

  5. avoid writing SQL without any DSL

Library API restricts you by:

  1. relying on using fixed Tables/Table functions
    as read/write models contracts

  2. relying on database first development approach

  3. benefiting via usage of CQRS pattern

Interesting

Library documentation

ClickHouse documentation

Wikipedia article about CQRS

Development