(column, key string)
| 269 | } |
| 270 | |
| 271 | func (d *postgresDialect) JSONExtractText(column, key string) string { |
| 272 | return fmt.Sprintf("%s->>'%s'", column, key) |
| 273 | } |
| 274 | |
| 275 | func (d *postgresDialect) JSONExtractPath(column, path string) string { |
| 276 | parts := strings.Split(path, ".") |
no outgoing calls