(column, key string)
| 278 | } |
| 279 | |
| 280 | func (d *postgresDialect) JSONSet(column, key string) string { |
| 281 | return fmt.Sprintf("jsonb_set(COALESCE(%s, '{}')::jsonb, '{%s}', to_jsonb(?::text))", column, key) |
| 282 | } |
| 283 | |
| 284 | func (d *postgresDialect) JSONRemove(column, key string) string { |
| 285 | return fmt.Sprintf("(%s::jsonb - '%s')", column, key) |
nothing calls this directly
no outgoing calls
no test coverage detected