Skip to main content
Version: Codegen-V1.0.0

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

NameType
Textends PropertyKey = PropertyKey