compression.go 374 B

123456789101112
  1. package database
  2. import "github.com/ClickHouse/clickhouse-go/v2"
  3. var compressionCH = map[string]clickhouse.CompressionMethod{
  4. "none": clickhouse.CompressionNone,
  5. "zstd": clickhouse.CompressionZSTD,
  6. "lz4": clickhouse.CompressionLZ4,
  7. "gzip": clickhouse.CompressionGZIP,
  8. "deflate": clickhouse.CompressionDeflate,
  9. "br": clickhouse.CompressionBrotli,
  10. }