I wrote GoPhRQL, a Go implementation of PRQL (
https://prql-lang.org) the pipelined relational query language that compiles to SQL. I mostly built it because I wanted to use PRQL from Go and couldn’t find a working port. It’s functional, still evolving, and fun to hack on.
It compiles to valid SQL for Postgres, MySQL, DuckDB, SQLite, and more.
You can access repo here: https://github.com/maxpert/gophrql