Back to Pocketbase

Function expandRecords

static/jsvm/functions/_app.expandRecords.html

latest885 B
Original Source

Function expandRecords

  • expandRecords(records, expands, optFetchFunc): _TygojaDict

ExpandRecords expands the relations of the provided Record models list.

If optFetchFunc is not set, then a default function will be used that returns all relation records.

Returns a map with the failed expand parameters and their errors.

Parameters

records: core.Record[]
expands: string[]
optFetchFunc: ExpandFetchFunc

Returns _TygojaDict

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc