IncludeOptions
@frost-orm/frost-web-client / Exports / IncludeOptions
Type alias: IncludeOptions<T>
Ƭ IncludeOptions<T
>: Partial
<Record
<T
, boolean
>>
a Map with the keys being the property names with relations that you want to be included in the fetch request, and the boolean value to determine if it should be included.
if the map is empty or undefined no relations will be included.
this type will be autogenerated for each model from the defined frost schema
Type parameters
Name | Type |
---|---|
T | extends PropertyKey = PropertyKey |