MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / recreateTable

Method recreateTable

plugins/destination/mssql/client/tables.go:43–50  ·  view source on GitHub ↗
(ctx context.Context, table *schema.Table)

Source from the content-addressed store, hash-verified

41}
42
43func (c *Client) recreateTable(ctx context.Context, table *schema.Table) error {
44 err := c.dropTable(ctx, table)
45 if err != nil {
46 return err
47 }
48
49 return c.createTable(ctx, table)
50}

Callers 1

autoMigrateTableMethod · 0.95

Calls 2

dropTableMethod · 0.95
createTableMethod · 0.95

Tested by

no test coverage detected