16 repository-uri
Libraries for object-relational mapping and database interaction.
Explore 16 awesome GitHub repositories matching part of an awesome list · ORM and Data Mapping. Refine with filters or upvote what's useful.
xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries and maps database rows back into native objects, providing a multi-dialect database driver that supports MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and TiDB. The project features a read-write splitting manager that routes modification requests to a primary database and read requests to replicas. It includes a database schema synchronizer to automatically align table structures and indexes with application data models, as well as a fluent SQL query builder for constructing co
Simple and powerful ORM.
pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent query builder for constructing SQL statements programmatically. At its core, it automatically generates CREATE TABLE statements from Go struct definitions using struct tags and naming conventions, and builds queries through method chaining with placeholder-based parameter binding to prevent SQL injection. The library distinguishes itself through relation-aware join generation that automatically constructs JOIN clauses for has-one, has-many, many-to-many, and polymorphic assoc
PostgreSQL-focused ORM with high performance.
Gorp is a lightweight object-relational mapper for Go that binds structs to relational database tables. It functions as a relational data mapper and SQL dialect abstraction layer, automating the translation between application data and relational rows. The project provides a translation layer that generates vendor-specific SQL for PostgreSQL, MySQL, SQLite, Oracle, and SQL Server. It distinguishes itself by implementing optimistic locking via version columns to prevent concurrent update conflicts and providing a database schema generator to create tables and indexes from object definitions.
Relational persistence ORM-ish library.
Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Unified interface for various storage backends.
A flexible and powerful SQL string builder library plus a zero-config ORM.
Flexible SQL string builder.
A Tasty Treat For All Your Database Needs
Database migration and ORM tool.
A better ORM for Go, based on non-empty interfaces and code generation.
ORM based on non-empty interfaces and code generation.
GORM V2 moved to https://github.com/go-gorm/gorm
Developer-friendly ORM library.