(column, key string)
| 220 | } |
| 221 | |
| 222 | func (d *postgresDialect) JSONExtractText(column, key string) string { |
| 223 | return fmt.Sprintf("%s->>'%s'", column, key) |
| 224 | } |
| 225 | |
| 226 | func (d *postgresDialect) JSONExtractPath(column, path string) string { |
| 227 | parts := strings.Split(path, ".") |
no outgoing calls