lxg 89230635c3 add remote driver 4 years ago
..
callbacks 89230635c3 add remote driver 4 years ago
clause bcf8e9b91d 初始化仓库 4 years ago
logger bcf8e9b91d 初始化仓库 4 years ago
migrator 89230635c3 add remote driver 4 years ago
schema bcf8e9b91d 初始化仓库 4 years ago
utils bcf8e9b91d 初始化仓库 4 years ago
.gitignore bcf8e9b91d 初始化仓库 4 years ago
License bcf8e9b91d 初始化仓库 4 years ago
README.md bcf8e9b91d 初始化仓库 4 years ago
association.go bcf8e9b91d 初始化仓库 4 years ago
callbacks.go bcf8e9b91d 初始化仓库 4 years ago
chainable_api.go bcf8e9b91d 初始化仓库 4 years ago
errors.go bcf8e9b91d 初始化仓库 4 years ago
finisher_api.go bcf8e9b91d 初始化仓库 4 years ago
go.mod bcf8e9b91d 初始化仓库 4 years ago
go.sum bcf8e9b91d 初始化仓库 4 years ago
gorm.go bcf8e9b91d 初始化仓库 4 years ago
interfaces.go bcf8e9b91d 初始化仓库 4 years ago
migrator.go bcf8e9b91d 初始化仓库 4 years ago
model.go bcf8e9b91d 初始化仓库 4 years ago
prepare_stmt.go bcf8e9b91d 初始化仓库 4 years ago
scan.go bcf8e9b91d 初始化仓库 4 years ago
soft_delete.go bcf8e9b91d 初始化仓库 4 years ago
statement.go bcf8e9b91d 初始化仓库 4 years ago

README.md

GORM

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

go report card test status 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 Statment 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