mysqlFunc writes the JSON path in MySQL format for the given function. `JSON_EXTRACT("a", '$.b.c')`.
(fn string, b *sql.Builder)
| 546 | // mysqlFunc writes the JSON path in MySQL format for the |
| 547 | // given function. `JSON_EXTRACT("a", '$.b.c')`. |
| 548 | func (p *PathOptions) mysqlFunc(fn string, b *sql.Builder) { |
| 549 | b.WriteString(fn).WriteByte('(') |
| 550 | b.Ident(p.Ident).Comma() |
| 551 | p.mysqlPath(b) |
| 552 | b.WriteByte(')') |
| 553 | } |
| 554 | |
| 555 | // mysqlPath writes the JSON path in MySQL (or SQLite) format. |
| 556 | func (p *PathOptions) mysqlPath(b *sql.Builder) { |
no test coverage detected