#1 dbmate
🚀 A lightweight, framework-agnostic database migration tool.
Package rel contains all rel primary APIs, such as Repository.
Health score 91/100, confidence 100/100.
| Latest version | v0.42.0 |
| Imported by | 123 packages |
| Stars | 781 |
| Forks | 60 |
| Last activity | 26 days ago |
| Latest release | v0.42.0 (2 years ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Adapter | Type | type Adapter interface{ ... } |
| Adapter.Aggregate | Method | Aggregate func(ctx context.Context, query Query, mode string, field string) (int, error) |
| Adapter.Apply | Method | Apply func(ctx context.Context, migration Migration) error |
| Adapter.Begin | Method | Begin func(ctx context.Context) (Adapter, error) |
| Adapter.Close | Method | Close func() error |
| Adapter.Commit | Method | Commit func(ctx context.Context) error |
| Adapter.Delete | Method | Delete func(ctx context.Context, query Query) (int, error) |
| Adapter.Exec | Method | Exec func(ctx context.Context, stmt string, args []any) (int64, int64, error) |
| Adapter.Insert | Method | Insert func(ctx context.Context, query Query, primaryField string, ...) (any, error) |
| Adapter.InsertAll | Method | InsertAll func(ctx context.Context, query Query, primaryField string, fields []string, ...) ([]any, error) |
| Adapter.Instrumentation | Method | Instrumentation func(instrumenter Instrumenter) |
| Adapter.Name | Method | Name func() string |
🚀 A lightweight, framework-agnostic database migration tool.
Package pop wraps the absolutely amazing https://github.com/jmoiron/sqlx library.
Package migrate reads migrations from sources and runs them against databases.
SQL Schema migration tool for Go.