Page Contents

Home > @loopback/boot > ModelBooter

ModelBooter class

A class that extends BaseArtifactBooter to boot the ‘Model’ artifact type.

Supported phases: configure, discover, load


export declare class ModelBooter extends BaseArtifactBooter 

Extends: BaseArtifactBooter


Constructor Modifiers Description
(constructor)(app, projectRoot, modelConfig)   Constructs a new instance of the ModelBooter class


Property Modifiers Type Description
app   ApplicationWithRepositories  
modelConfig   ArtifactOptions  


Method Modifiers Description
load()   Uses super method to get a list of Artifact classes. Boot each file by creating a DataSourceConstructor and binding it to the application class.