caseData holds all the data required to build a CASE SQL construct
| 54 | |
| 55 | // caseData holds all the data required to build a CASE SQL construct |
| 56 | type caseData struct { |
| 57 | What Sqlizer |
| 58 | WhenParts []whenPart |
| 59 | Else Sqlizer |
| 60 | } |
| 61 | |
| 62 | // ToSql implements Sqlizer |
| 63 | func (d *caseData) ToSql() (sqlStr string, args []interface{}, err error) { |
nothing calls this directly
no outgoing calls
no test coverage detected