Page Contents

Home > @loopback/repository > RepositoryMetadata

RepositoryMetadata class

Metadata for a repository

Signature:

export declare class RepositoryMetadata 

Constructors

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

Properties

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