(typ super.Type)
| 29 | } |
| 30 | |
| 31 | func NewScodeEncoder(typ super.Type) *ScodeEncoder { |
| 32 | return &ScodeEncoder{ |
| 33 | typ: typ, |
| 34 | cmp: expr.NewValueCompareFn(order.Asc, order.NullsFirst), |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // XXX TBD: change all the scode primitives to be native and get rid of |
| 39 | // this slow path here. |
no test coverage detected