# README
gFly Database - MySQL
Copyright © 2023, gFly
https://www.gfly.dev
All rights reserved.
Fluent Model - flexible and powerful Data-Access Layer. Build on top of Fluent SQL
Usage
Install
go get -u github.com/gflydev/[email protected]
go get -u github.com/gflydev/db/[email protected]
Quick usage main.go
import (
mb "github.com/gflydev/db"
dbMySQL "github.com/gflydev/db/mysql"
)
func main() {
// Register DB driver & Load Model builder
mb.Register(dbMySQL.New())
mb.Load()
}
# Functions
New initial MySQL driver and register to database manager.