MCPcopy Create free account
hub / github.com/apecloud/myduckserver / Truncate

Method Truncate

catalog/table.go:533–540  ·  view source on GitHub ↗

Truncate implements sql.TruncateableTable.

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

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

Callers 1

RunTestColumnDefaultsFunction · 0.80

Calls 2

ExecCatalogFunction · 0.92
FullTableNameFunction · 0.85

Tested by 1

RunTestColumnDefaultsFunction · 0.64