Korma is a DSL for Clojure that wraps SQL via expressive, composable Clojure constructs. It allows developers to build powerful and reusable database queries using rich abstractions instead of raw SQL strings. The most recent stable release is Korma 0.4.3, as noted above. The current edge release is Korma 0.5.0-RC1 (released Feb 28, 2018). It is not guaranteed to be bug free, and we'd welcome help from the community in identifying any bugs or regressions. The plan is to either release a second release candidate in May or, if no bugs have surfaced, for Korma 0.5.0 to be released at that time.

Features

  • Declarative query building with macros like select, insert, update, delete
  • Support for joins, unions, subselects, and query composition via Clojure maps
  • Utility for printing SQL without executing it (dry-run, sql-only)
  • Database connection abstractions via defdb, create-db, and pool configuration
  • Data transformation hooks (prepare, transform) to modify inserted or selected rows
  • Fully composable and reusable query fragments for elegant construction

Project Samples

Project Activity

See All Activity >

Categories

Database, Libraries

Follow Korma

Korma Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Korma!

Additional Project Details

Registered

2025-08-20