Yesql is a lightweight Clojure library that embraces raw SQL by allowing developers to store SQL queries in separate .sql files and load them into Clojure as functions, ensuring queries remain close to the SQL syntax while integrating cleanly into Clojure projects. The primary focus moving forward will be to keep versions and tests up to date, and potentially add a few new features where they are most likely to be helpful. The goal is for yesql to continue as a stable and composable library for integrating SQL easily into Clojure projects.

Features

  • Organizes SQL statements in standalone .sql files for clarity
  • Automatically generates Clojure functions for each SQL statement
  • Minimal abstraction—SQL stays in its native form for full expressiveness
  • Supports both positional (?) and named (:id) parameter syntax
  • Compatible with clojure.java.jdbc for database interaction
  • Highly composable, stable, and easy to integrate into existing projects

Project Samples

Project Activity

See All Activity >

Categories

Database

License

Eclipse Public License

Follow Yesql

Yesql Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Yesql!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2025-08-20