Skip to content

Commit a30e9d0

Browse files
committed
Merge branch 'main' of https://github.com/go-rel/mysql into main
2 parents 3c339e3 + 8348a39 commit a30e9d0

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
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

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
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

99
MySQL adapter for REL.
1010

11-
## Example
11+
## Example
1212

1313
```go
1414
package 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

mysql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.
2828
func New(database *db.DB) rel.Adapter {
2929
var (
3030
bufferFactory = builder.BufferFactory{ArgumentPlaceholder: "?", EscapePrefix: "`", EscapeSuffix: "`"}

0 commit comments

Comments
 (0)