https://github.com/driver005/database
https://github.com/driver005/database
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/driver005/database
- Owner: driver005
- License: mit
- Created: 2022-05-23T13:18:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T23:49:12.000Z (over 3 years ago)
- Last Synced: 2024-06-20T13:24:44.116Z (about 2 years ago)
- Language: Go
- Size: 261 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Database
[](https://pkg.go.dev/github.com/driver005/database)
I know it's one of the bades names for an ORM
## 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