Skip to content
ClickHouse native JDBC adapter for HugSQL.
Clojure TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/hugsql/adapter
test/hugsql/adapter
.gitignore
CHANGELOG.md
Jenkinsfile
README.md
build.boot

README.md

HugSQL Adapter ClickHouse Native JDBC

An adapter between HugSQL and the ClickHouse Native JDBC driver.

Usage

Follow the HugSQL documentation for using third-party adapters.

Add the following to your project.clj:

Clojars Project

Then you have to install the adapter:

(ns core
  (:require [hugsql.core :as hugsql]
            [hugsql.adapter.clickhouse-native-jdbc :as clickhouse]))

(hugsql/def-db-fns "fns.sql")
(hugsql/set-adapter! (clickhouse/hugsql-adapter-))

Tests

The tests assume you have a local instance of ClickHouse running on port 9000.

%> boot bat-test -c

License

Copyright © 2019 2DA Analytics

You can’t perform that action at this time.