Page Contents

Home > @loopback/repository > Fields

Fields type

Selection of fields

Example: {afieldname: true}

Signature:

export declare type Fields<MT = AnyObject> = {
    [P in keyof MT]?: boolean;
};