MCPcopy Create free account
hub / github.com/bytebase/bytebase / instanceV1AllowsReorderColumns

Function instanceV1AllowsReorderColumns

frontend/src/utils/v1/instance.ts:244–249  ·  view source on GitHub ↗
(
  instanceOrEngine: Instance | InstanceResource | Engine
)

Source from the content-addressed store, hash-verified

242};
243
244export const instanceV1AllowsReorderColumns = (
245 instanceOrEngine: Instance | InstanceResource | Engine
246) => {
247 const engine = engineOfInstanceV1(instanceOrEngine);
248 return [Engine.MYSQL, Engine.TIDB].includes(engine);
249};
250
251export const instanceV1SupportsExternalTable = (
252 instanceOrEngine: Instance | InstanceResource | Engine

Callers

nothing calls this directly

Calls 1

engineOfInstanceV1Function · 0.85

Tested by

no test coverage detected