seancorfield/honeysql
Turn Clojure data structures into SQL observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 28.5
- age_days: 5164
- days_rel: 31
- days_push: 10
- n_releases_24m: 19
Adoption not part of the score
1918 stars · 177 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
HoneySQL is a Clojure library that turns Clojure data structures into SQL statements, letting you build queries programmatically without string concatenation. It supports multiple SQL dialects (PostgreSQL, MySQL, XTDB, BigQuery, New Relic NRQL) and produces parameterized SQL strings suitable for use with JDBC wrappers like next.jdbc.
Use cases
- build SQL queries from Clojure data structures
- generate parameterized SQL without string concatenation
- compose SQL queries dynamically at runtime
- generate dialect-specific SQL for PostgreSQL or MySQL
- build DDL statements like create-table and alter-table programmatically
- construct conditional WHERE clauses safely
When to choose
- you write Clojure or ClojureScript and want SQL as composable data
- you need runtime query construction with safe parameterization
- you use next.jdbc or clojure.java.jdbc and want a query DSL
- you need multi-dialect SQL generation including vendor extensions
When to avoid
- you need a tool that executes queries — HoneySQL only formats SQL, you need a JDBC wrapper separately
- you work outside the Clojure/JVM ecosystem
- you want a full ORM with entity mapping and migrations
Facets
library · maturity active
serialization database developer-tools databases developer-tools backend jvm jvm-scripting cross-platform sql-query-builder clojure dsl jdbc clojurescript sql-generation
10 sources
- readme: https://github.com/seancorfield/honeysql · fetched 2026-08-28 · 803d623019e8
- homepage: https://cljdoc.org/d/com.github.seancorfield/honeysql/CURRENT · fetched 2026-08-29 · 9ae41335737b
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started · fetched 2026-08-29 · df5adf804909
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/general-reference · fetched 2026-08-29 · 79f5aa361c93
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/sql-clause-reference · fetched 2026-08-29 · 2f5d4517edc0
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/sql-operator-reference · fetched 2026-08-29 · aa00db6b266f
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/sql-special-syntax- · fetched 2026-08-29 · 8e4c3d56fcbd
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/postgresql-support · fetched 2026-08-29 · 119b2f801c9a
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/xtdb-support · fetched 2026-08-29 · cb1a34cf52f7
- site_page: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1437/doc/getting-started/new-relic-nrql-support · fetched 2026-08-29 · 0a88cf2aaebb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| seancorfield/honeysql | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="seancorfield/honeysql")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem