(column, key string)
| 288 | } |
| 289 | |
| 290 | func (d *postgresDialect) JSONExtractText(column, key string) string { |
| 291 | return fmt.Sprintf("%s->>'%s'", column, key) |
| 292 | } |
| 293 | |
| 294 | func (d *postgresDialect) JSONExtractPath(column, path string) string { |
| 295 | parts := strings.Split(path, ".") |
no outgoing calls