Files
dbx/apps/desktop/src/lib/schema/connectionSchemaInitialization.ts
T

7 lines
276 B
TypeScript

import type { DatabaseType } from "@/types/database";
export function schemaAfterConnectionSwitch(databaseType: DatabaseType | undefined, orderedSchemaNames: string[]): string | undefined {
if (databaseType !== "oracle") return undefined;
return orderedSchemaNames[0];
}