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
The Most Powerful Software Platform for EHSQ and ESG Management Icon
The Most Powerful Software Platform for EHSQ and ESG Management

Addresses the needs of small businesses and large global organizations with thousands of users in multiple locations.

Choose from a complete set of software solutions across EHSQ that address all aspects of top performing Environmental, Health and Safety, and Quality management programs.
Learn More
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