Restore the Op into a Writer
(ctx *format.RestoreCtx)
| 143 | |
| 144 | // Restore the Op into a Writer |
| 145 | func (o Op) Restore(ctx *format.RestoreCtx) error { |
| 146 | if v, ok := opsLiteral[o]; ok { |
| 147 | ctx.WriteKeyWord(v) |
| 148 | return nil |
| 149 | } |
| 150 | return errors.Errorf("Invalid opcode type %d during restoring AST to SQL text", o) |
| 151 | } |
nothing calls this directly
no test coverage detected