mirror of
https://github.com/ent/ent.git
synced 2026-04-28 13:40:56 +03:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user