An open API service indexing awesome lists of open source software.

https://github.com/driver005/database


https://github.com/driver005/database

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Database

[![Go Reference](https://pkg.go.dev/badge/github.com/driver005/database.svg)](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