Truncate implements sql.TruncateableTable.
(ctx *sql.Context)
| 531 | func (e *EmptyTableEditor) Close(*sql.Context) error { |
| 532 | return nil |
| 533 | } |
| 534 | |
| 535 | // DiscardChanges implements sql.RowUpdater. |
| 536 | func (e *EmptyTableEditor) DiscardChanges(ctx *sql.Context, errorEncountered error) error { |
| 537 | panic("unimplemented") |
| 538 | } |
| 539 | |
| 540 | // StatementBegin implements sql.RowUpdater. |
| 541 | func (e *EmptyTableEditor) StatementBegin(ctx *sql.Context) { |
| 542 | panic("unimplemented") |
| 543 | } |