fusion-orm

A Go ORM that pairs a SQL-first query engine with a fluent chaining API. Built on database/sql — SQLite and PostgreSQL dialects included.

go get github.com/kiplagatcollins/fusion-orm

modelwhereorderlimitreturning→ BuildClauses → []byte
chain
db.Model(&User{}).
    Where("age > ?", 18).
    Order("id DESC").
    Limit(5).
    Find(&users)
SQL
SELECT * FROM "users"
WHERE age > $1
ORDER BY id DESC
LIMIT 5
postgres · $n placeholders1 round-tripwhat you chain is what runs

Everything in the box

Start here