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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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