Page Contents

Home > @loopback/repository > RepositoryMetadata

RepositoryMetadata class

Metadata for a repository


export declare class RepositoryMetadata 


Constructor Modifiers Description
(constructor)(modelOrRepo, dataSource)   Constructor for RepositoryMetadata


Property Modifiers Type Description
dataSource   juggler.DataSource | DataSource Instance of the data source
dataSourceName   string Name of the data source
modelClass   typeof Entity Class of the model
modelName   string Name of the model
name   string Name of the predefined repository