4778 multi select field front implement multi select type (#4887)
This commit is contained in:
@ -40,11 +40,6 @@ export class TypeORMService implements OnModuleInit, OnModuleDestroy {
|
||||
return this.mainDataSource;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connects to a data source using metadata. Returns a cached connection if it exists.
|
||||
* @param dataSource DataSourceEntity
|
||||
* @returns Promise<DataSource | undefined>
|
||||
*/
|
||||
public async connectToDataSource(
|
||||
dataSource: DataSourceEntity,
|
||||
): Promise<DataSource | undefined> {
|
||||
@ -96,12 +91,6 @@ export class TypeORMService implements OnModuleInit, OnModuleDestroy {
|
||||
return workspaceDataSource;
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnects from a workspace data source.
|
||||
* @param dataSourceId
|
||||
* @returns Promise<void>
|
||||
*
|
||||
*/
|
||||
public async disconnectFromDataSource(dataSourceId: string) {
|
||||
if (!this.dataSources.has(dataSourceId)) {
|
||||
return;
|
||||
@ -114,11 +103,6 @@ export class TypeORMService implements OnModuleInit, OnModuleDestroy {
|
||||
this.dataSources.delete(dataSourceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new schema
|
||||
* @param workspaceId
|
||||
* @returns Promise<void>
|
||||
*/
|
||||
public async createSchema(schemaName: string): Promise<string> {
|
||||
const queryRunner = this.mainDataSource.createQueryRunner();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user