mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 13:06:01 +00:00
uncommented test + fix
This commit is contained in:
@@ -24,6 +24,7 @@ export function isCompositeDbName(name: string) {
|
||||
}
|
||||
|
||||
export function splitCompositeDbName(name: string) {
|
||||
if (!isCompositeDbName(name)) return null;
|
||||
const [database, schema] = name.split('::');
|
||||
return { database, schema };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user