- SQL Utilities
Please make sure to initialize a Go module before installing core-go/sql:
go get -u github.com/core-go/sql
Import:
import "github.com/core-go/sql"
- Insert, Update, Delete, Find By ID.
- Insert or Update: support Oracle, PostgreSQL, My SQL, MS SQL Server, Sqlite
- Support decimal, which is useful for currency
- Build dynamic query for search
- Batch Insert
- Batch Batch Update
- Batch Insert or Update: support Oracle, PostgreSQL, My SQL, MS SQL Server, Sqlite
- CRUD repository
- Handle transaction
- Dynamic Query