Back to Medusa

RestrictedFields

www/apps/resources/references/medusa/classes/medusa.RestrictedFields/page.mdx

2.16.01.1 KB
Original Source

import { TypeList } from "docs-ui"

RestrictedFields

constructor


Properties

<TypeList types={[{"name":"#private","type":"any","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="RestrictedFields"/>


Methods

list

Returns

<TypeList types={[{"name":"string[]","type":"string[]","optional":false,"defaultValue":"","description":"","expandable":false,"children":[{"name":"string","type":"string","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="list"/>

add

Parameters

<TypeList types={[{"name":"fields","type":"string[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="add"/>