WithMissingAsNull returns the receiver after modifying it to treat missing values as the null value in comparisons.
()
| 111 | // WithMissingAsNull returns the receiver after modifying it to treat missing |
| 112 | // values as the null value in comparisons. |
| 113 | func (c *Comparator) WithMissingAsNull() *Comparator { |
| 114 | for i, k := range c.exprs { |
| 115 | c.exprs[i].Evaluator = &missingAsNull{k} |
| 116 | } |
| 117 | return c |
| 118 | } |
| 119 | |
| 120 | type missingAsNull struct{ Evaluator } |
| 121 |
no outgoing calls
no test coverage detected