liuxiulin 1921cb4c51 first commit il y a 1 mois
..
callbacks 1921cb4c51 first commit il y a 1 mois
clause 1921cb4c51 first commit il y a 1 mois
logger 1921cb4c51 first commit il y a 1 mois
migrator 1921cb4c51 first commit il y a 1 mois
schema 1921cb4c51 first commit il y a 1 mois
utils 1921cb4c51 first commit il y a 1 mois
.gitignore 1921cb4c51 first commit il y a 1 mois
License 1921cb4c51 first commit il y a 1 mois
README.md 1921cb4c51 first commit il y a 1 mois
association.go 1921cb4c51 first commit il y a 1 mois
callbacks.go 1921cb4c51 first commit il y a 1 mois
chainable_api.go 1921cb4c51 first commit il y a 1 mois
errors.go 1921cb4c51 first commit il y a 1 mois
finisher_api.go 1921cb4c51 first commit il y a 1 mois
gorm.go 1921cb4c51 first commit il y a 1 mois
interfaces.go 1921cb4c51 first commit il y a 1 mois
migrator.go 1921cb4c51 first commit il y a 1 mois
model.go 1921cb4c51 first commit il y a 1 mois
prepare_stmt.go 1921cb4c51 first commit il y a 1 mois
scan.go 1921cb4c51 first commit il y a 1 mois
soft_delete.go 1921cb4c51 first commit il y a 1 mois
statement.go 1921cb4c51 first commit il y a 1 mois

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