What is GORM?
It is a fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This gorm library is developed on the top of database/sql package.
GORM is a tool in the Object Relational Mapper (ORM) category of a tech stack.
GORM is an open source tool with 15.5K GitHub stars and 1.8K GitHub forks. Here’s a link to GORM's open source repository on GitHub
Who uses GORM?
4 companies reportedly use GORM in their tech stacks, including Ernit-Platform, MotionTailor, and ArqamFC.
6 developers on StackShare have stated that they use GORM.
Why developers like GORM?
Here’s a list of reasons why companies and developers use GORM
Be the first to leave a pro
- Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
- Hooks (Before/After Create/Save/Update/Delete/Find)
- Preloading (eager loading)
- Composite Primary Key
- SQL Builder
- Auto Migrations
- Extendable, write Plugins based on GORM callbacks
GORM Alternatives & Comparisons
What are some alternatives to GORM?
See all alternatives
It is a RESTful HTTP framework for the rapid development of Go applications including APIs, web apps and backend services with integrated Go specific features such as interfaces and struct embedding.
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.