sphireinc

sphireinc / Quarry

Public

A Go SQL composition toolkit for people who like raw SQL, but hate brittle dynamic query assembly.

11
1
100% credibility
Found May 09, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

Quarry is a toolkit that lets developers compose safe SQL queries in Go using structured code instead of fragile strings.

How It Works

1
๐Ÿ” Discover Quarry

You stumble upon Quarry while looking for a simple way to safely search and manage data in your app's database.

2
๐Ÿ“ฆ Add to Your Project

You easily bring Quarry into your project so it can help build your data requests.

3
๐Ÿ—„๏ธ Pick Your Database Style

You select the option that matches your database to ensure everything works smoothly.

4
โœจ Build Safe Data Requests

You create flexible searches, updates, or lists with optional filters and sorting that stay secure no matter what.

5
โ–ถ๏ธ Run the Request

You send your crafted request to the database and watch it fetch exactly what you need.

6
๐Ÿ“‹ Grab the Results

Your data automatically flows into neat lists or single items ready for your app.

๐ŸŽ‰ App Powers Up

Your app now handles database tasks securely and efficiently, delighting your users with fast searches and updates.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is Quarry?

Quarry is a Go toolkit for composing SQL queries fluently, letting you write SQL-shaped code with safe argument binding and dialect support for Postgres, MySQL, and SQLite. It handles SELECT, INSERT, UPDATE, DELETE builders, dynamic optional filters, user-safe sorting, and raw SQL fragments without brittle string assembly. Think quarrying precise SQL from Go, skipping ORM magic for explicit control.

Why is it gaining traction?

It shines in dynamic queries like search APIs or paginated lists, with optional predicates that vanish cleanly and safe ORDER BY maps blocking injection risks. Unlike Squirrel, it prioritizes identifier quoting and dialect rules upfront; the raw escape hatch rewrites placeholders smartly. Devs dig its small API for sql github tutorial examples or sql github practice repos.

Who should use this?

Go backend engineers crafting REST APIs with filters, sorting, or partial updates. Suits sql github portfolio builders, sql github interview questions preppers, or teams quarrying data sans GORM bloatโ€”avoid if you need migrations or relations.

Verdict

At 11 stars and 1.0% credibility, Quarry's young but polished: excellent docs, full test coverage, and a focused roadmap beat many sql github projects. Grab it for safe dynamic SQL; skip for mature alternatives until adoption grows.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.