SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite
Bob is a set of Go packages and tools to work with SQL databases.
Bob’s philosophy centres around the following:
Bob can be progressively adopted from raw SQL query strings, to fully typed queries with models and factories generated for your database.
Bob consists of several components that build on each other for the full experience.
Check out the documentation for more information.
Queries | Models | ORM Gen | Factory Gen | |
---|---|---|---|---|
Postgres | ✅ | ✅ | ✅ | ✅ |
MySQL/MariaDB | ✅ | ✅ | ✅ | ✅ |
SQLite | ✅ | ✅ | ✅ | ✅ |
Thanks to all the people who have contributed to Bob!