You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Andrey Kovalev 7fe2f59f05
go mod tidy && go mod vendor
3 years ago
..
callbacks go mod tidy && go mod vendor 3 years ago
clause go mod tidy && go mod vendor 3 years ago
logger go mod tidy && go mod vendor 3 years ago
migrator go mod tidy && go mod vendor 3 years ago
schema go mod tidy && go mod vendor 3 years ago
utils go mod tidy && go mod vendor 3 years ago
.gitignore go mod tidy && go mod vendor 3 years ago
.golangci.yml go mod tidy && go mod vendor 3 years ago
License go mod tidy && go mod vendor 3 years ago
README.md go mod tidy && go mod vendor 3 years ago
association.go go mod tidy && go mod vendor 3 years ago
callbacks.go go mod tidy && go mod vendor 3 years ago
chainable_api.go go mod tidy && go mod vendor 3 years ago
errors.go go mod tidy && go mod vendor 3 years ago
finisher_api.go go mod tidy && go mod vendor 3 years ago
gorm.go go mod tidy && go mod vendor 3 years ago
interfaces.go go mod tidy && go mod vendor 3 years ago
migrator.go go mod tidy && go mod vendor 3 years ago
model.go go mod tidy && go mod vendor 3 years ago
prepare_stmt.go go mod tidy && go mod vendor 3 years ago
scan.go go mod tidy && go mod vendor 3 years ago
soft_delete.go go mod tidy && go mod vendor 3 years ago
statement.go go mod tidy && go mod vendor 3 years ago

README.md

GORM

The fantastic ORM library for Golang, aims to be developer friendly.

go report card test status Join the chat at https://gitter.im/jinzhu/gorm Open Collective Backer Open Collective Sponsor MIT license Go.Dev reference

Overview

  • 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 To Map
  • SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
  • Composite Primary Key
  • Auto Migrations
  • Logger
  • Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheus…
  • Every feature comes with tests
  • Developer Friendly

Getting Started

Contributing

You can help to deliver a better GORM, check out things you can do

License

© Jinzhu, 2013~time.Now

Released under the MIT License