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

Function instanceV1SupportsExternalTable

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

Source from the content-addressed store, hash-verified

249};
250
251export const instanceV1SupportsExternalTable = (
252 instanceOrEngine: Instance | InstanceResource | Engine
253) => {
254 const engine = engineOfInstanceV1(instanceOrEngine);
255 return [Engine.POSTGRES, Engine.HIVE].includes(engine);
256};
257
258export const instanceV1SupportsPackage = (
259 instanceOrEngine: Instance | InstanceResource | Engine

Callers 2

useAvailableActionsFunction · 0.90
InfoPanelFunction · 0.90

Calls 1

engineOfInstanceV1Function · 0.85

Tested by

no test coverage detected