1 repositorio
Mechanisms for mapping the results of SQL queries back into application-level objects or primitives.
Distinct from Database-Level Query Parameter Bindings: Distinct from Database-Level Query Parameter Bindings: focuses on mapping returned result sets to objects rather than binding input parameters to the connection.
Explore 1 awesome GitHub repository matching web development · Query Result Bindings. Refine with filters or upvote what's useful.
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.
Binds the results of raw SQL queries to Go slices, structs, or primitive types.