Interface JoinApplyBuilder
Methods
filter
Parameters
- literal: Record<string, unknown>
filterWhere
Parameters
- literal: Record<string, unknown>
orderBy
Parameters
- field: string
Optionaldirection: "ASC" | "DESC"
without
Parameters
- fields: string | string[]
Builder interface passed to
_applycallbacks in join options.Supports a subset of query operations that can be analyzed and applied to related record queries:
filterWhere/filter- add WHERE conditionswithout- exclude fields from resultslimit- cap number of related recordsorderBy/asc/desc- sort related records