dialect/sql/sqljson: remove duplicate word in comments (#2892)

Signed-off-by: Abirdcfly <fp544037857@gmail.com>

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
Abirdcfly
2022-08-30 15:19:04 +08:00
committed by GitHub
parent f797ac2d14
commit 3b1b75b9d7

View File

@@ -420,7 +420,7 @@ func (p *PathOptions) length(b *sql.Builder) {
}
// mysqlFunc writes the JSON path in MySQL format for the
// the given function. `JSON_EXTRACT("a", '$.b.c')`.
// given function. `JSON_EXTRACT("a", '$.b.c')`.
func (p *PathOptions) mysqlFunc(fn string, b *sql.Builder) {
b.WriteString(fn).WriteByte('(')
b.Ident(p.Ident).Comma()