magyarcég
Közintézmény
GORM
  • Közintézmény

GORM

Developer-friendly ORM library for Golang.

  • Full-Featured ORM for Golang
  • Comprehensive Association and Hook Support
  • Advanced Transaction and Query Modes
  • SQL Building and Schema Migration Tools
  • Extendable Plugin Architecture

Bemutatkozás

GORM is an ORM library for Golang that emphasizes developer friendliness. It offers a full-featured ORM with support for various associations like has one, has many, belongs to, many to many, polymorphism, and single-table inheritance. The library includes hooks for before/after create/save/update/delete/find operations, eager loading via Preload and Joins, and robust transaction management including nested transactions and rollback points. It supports Context, Prepared Statement Mode, and DryRun Mode, along with features like Batch Insert, FindInBatches, and CRUD operations using SQL Expressions and Context Valuers. GORM also provides an SQL Builder, Upsert functionality, locking, optimizer/index/comment hints, named arguments, and subqueries, supporting composite primary keys, indexes, and constraints, alongside auto-migrations and logging capabilities. It features an extendable, flexible plugin API supporting features like Database Resolver for multiple databases and read/write splitting, and Prometheus integration. All features are accompanied by tests.

Szolgáltatások, tevékenységek

  • Full-Featured ORM
  • Associations (has one, has many, belongs to, many to many, polymorphism, single-table inheritance)
  • Hooks (before/after create/save/update/delete/find)
  • Eager loading with Preload, Joins
  • Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
  • Context, Prepared Statement Mode, DryRun Mode
  • Batch Insert, FindInBatches, Find/Create with Map, CRUD with SQL Expr and Context Valuer
  • SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, Named Argument, SubQuery
  • Composite Primary Key, Indexes, Constraints
  • Auto Migrations
  • Logger
  • Extendable, flexible plugin API: Database Resolver (multiple databases, read/write splitting) / Prometheus