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.
fs02/grimoire 的主要功能包括:Object Relational Mappers, Object Relational Mapping, ORM and Data Mapping, Database Tools。
fs02/grimoire 的开源替代品包括: volatiletech/sqlboiler. go-reform/reform — A better ORM for Go, based on non-empty interfaces and code generation. coocood/qbs. albrow/zoom. go-pg/pg — pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent… go-gorp/gorp — Gorp is a lightweight object-relational mapper for Go that binds structs to relational database tables. It functions…