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

Function hasSchemaProperty

frontend/src/utils/v1/instance.ts:365–376  ·  view source on GitHub ↗
(databaseEngine: Engine)

Source from the content-addressed store, hash-verified

363};
364
365export const hasSchemaProperty = (databaseEngine: Engine) => {
366 return (
367 databaseEngine === Engine.POSTGRES ||
368 databaseEngine === Engine.SNOWFLAKE ||
369 databaseEngine === Engine.MSSQL ||
370 databaseEngine === Engine.REDSHIFT ||
371 databaseEngine === Engine.COCKROACHDB ||
372 databaseEngine === Engine.SPANNER ||
373 databaseEngine === Engine.TRINO ||
374 databaseEngine === Engine.DATABRICKS
375 );
376};
377
378export const instanceAllowsSchemaScopedQuery = (
379 instanceOrEngine: Instance | InstanceResource | Engine

Callers 12

TableSchemaViewerFunction · 0.90
NavigatorFunction · 0.90
NavigatorTreeFunction · 0.90
DatabaseEditorFunction · 0.90
SchemaSelectToolbarFunction · 0.90
DependencyColumnsTableFunction · 0.90
DatabaseObjectExplorerFunction · 0.90
TableMetadataTableFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected