Page Contents

Home > @loopback/boot > DataSourceBooter > (constructor)

DataSourceBooter.constructor

Constructs a new instance of the DataSourceBooter class

Signature:

constructor(app: ApplicationWithRepositories, projectRoot: string, datasourceConfig?: ArtifactOptions);

Parameters

Parameter Type Description
app ApplicationWithRepositories  
projectRoot string  
datasourceConfig ArtifactOptions