File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 88jobs :
99 goreleaser :
1010 runs-on : ubuntu-latest
11- if : github.repository == 'go-rel/sqlite3 '
11+ if : github.repository == 'go-rel/mysql '
1212 steps :
1313 - name : Checkout
1414 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 33[ ![ GoDoc] ( https://godoc.org/github.com/go-rel/mysql?status.svg )] ( https://pkg.go.dev/github.com/go-rel/mysql )
44[ ![ Tesst] ( https://github.com/go-rel/mysql/actions/workflows/test.yml/badge.svg?branch=main )] ( https://github.com/go-rel/mysql/actions/workflows/test.yml )
55[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/go-rel/mysql )] ( https://goreportcard.com/report/github.com/go-rel/mysql )
6- [ ![ codecov] ( https://codecov.io/gh/go-rel/mysql/branch/master /graph/badge.svg?token=56qOCsVPJF )] ( https://codecov.io/gh/go-rel/mysql )
6+ [ ![ codecov] ( https://codecov.io/gh/go-rel/mysql/branch/main /graph/badge.svg?token=56qOCsVPJF )] ( https://codecov.io/gh/go-rel/mysql )
77[ ![ Gitter chat] ( https://badges.gitter.im/go-rel/rel.png )] ( https://gitter.im/go-rel/rel )
88
99MySQL adapter for REL.
1010
11- ## Example
11+ ## Example
1212
1313``` go
1414package main
@@ -34,4 +34,12 @@ func main() {
3434 repo := rel.New (adapter)
3535 repo.Ping (context.TODO ())
3636}
37- ```
37+ ```
38+
39+ ## Supported Driver
40+
41+ - github.com/go-sql-driver/mysql
42+
43+ ## Supported Database
44+
45+ - MySQL 5 and 8
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424)
2525
2626// New mysql adapter using existing connection.
27- // Existing connection nneds to be created with `clientFoundRows=true` options for update and delete to works correctly.
27+ // Existing connection needs to be created with `clientFoundRows=true` options for update and delete to works correctly.
2828func New (database * db.DB ) rel.Adapter {
2929 var (
3030 bufferFactory = builder.BufferFactory {ArgumentPlaceholder : "?" , EscapePrefix : "`" , EscapeSuffix : "`" }
You can’t perform that action at this time.
0 commit comments