A flexible and powerful SQL string builder library plus a zero-config ORM.
Die Hauptfunktionen von huandu/go-sqlbuilder sind: Object Relational Mappers, Object Relational Mapping, ORM and Data Mapping.
Open-Source-Alternativen zu huandu/go-sqlbuilder sind unter anderem: fs02/grimoire. go-pg/pg — pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent… albrow/zoom. coocood/qbs. go-gorp/gorp — Gorp is a lightweight object-relational mapper for Go that binds structs to relational database tables. It functions… go-reform/reform — A better ORM for Go, based on non-empty interfaces and code generation.
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.