منصوبے کے بارے میں

GORM is an open-source Object-Relational Mapping (ORM) library for the Go programming language, designed to be developer friendly. According to its README, it provides a full-featured ORM with a broad set of capabilities. Key features listed include associations such as Has One, Has Many, Belongs To, Many To Many, Polymorphism, and single-table inheritance. It supports hooks for Before/After Create, Save, Update, Delete, and Find operations. Eager loading is available through Preload and Joins. The library also covers transactions, nested transactions, save points, and RollbackTo to a saved point. Additional capabilities mentioned are Context support, Prepared Statement Mode, and DryRun Mode. It offers batch insert, FindInBatches, and Find To Map. A SQL Builder is included, along with Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, and Search/Update/Create with SQL Expr. Composite primary keys and auto migrations are supported, as is a logger. The README highlights an extendable and flexible plugin API, citing examples such as a Database Resolver for multiple databases and read/write splitting, and Prometheus integration. It states that every feature comes with tests. Documentation is available via the GORM Guides at gorm.io and Gen Guides at gorm.io/gen. The project welcomes contributions and links to a contribution page. It is released under the MIT License, with copyright attributed to Jinzhu from 2013 onward.