(value time.Time)
| 682 | } |
| 683 | |
| 684 | func nullTime(value time.Time) sql.NullTime { |
| 685 | return sql.NullTime{Time: value, Valid: !value.IsZero()} |
| 686 | } |
| 687 | |
| 688 | // jsonClear is a sentinel value that tells nullJSON to emit a valid |
| 689 | // JSON null (JSONB 'null') instead of SQL NULL. COALESCE treats SQL |
no test coverage detected