Showing posts with the label ORM

Gorm 2.0 Released!!

GORM 2.0 is a rewrite from scratch, it introduces some incompatible-API change and many improvements Highlights Performance Improvements Modularity Context, Batch Insert, Prepared Statment Mode, DryRun Mode, Join Preload, Find To Map, Create From Map, FindInBatches supports Nested Transaction/SavePoint/RollbackTo SavePoint supports SQL Builder, Named Argument, Group Conditions, Upsert, Locking, Optimizer/Index/Comment Hints supports, SubQuery improvements, CRUD with SQL Expr and Context Valuer Full self-reference relationships support, Join Table improvements, Association Mode for batch data Multiple fields allowed to track create/update time, UNIX (milli/nano) seconds supports Field permissions support: read-only, write-only, create-only, update-only, ignored New plugin system, provides official plugins for multiple databases, read/write splitting, prometheus integrations… New Hooks API: unified interface with plugins New Migrator: allows to create database foreign keys for relationsh