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

Function instanceV1SupportsSequence

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

Source from the content-addressed store, hash-verified

263};
264
265export const instanceV1SupportsSequence = (
266 instanceOrEngine: Instance | InstanceResource | Engine
267) => {
268 const engine = engineOfInstanceV1(instanceOrEngine);
269 return [Engine.POSTGRES].includes(engine);
270};
271
272export const instanceV1SupportsTrigger = (
273 instanceOrEngine: Instance | InstanceResource | Engine

Callers 3

useAvailableActionsFunction · 0.90
InfoPanelFunction · 0.90
DatabaseObjectExplorerFunction · 0.90

Calls 1

engineOfInstanceV1Function · 0.85

Tested by

no test coverage detected