Column on the foreign table used for the join (string key or property accessor)
OptionalforeignOptional Knex query builder for the foreign table — auto-derived from foreignSchema's tableName if omitted
Foreign schema for type inference
OptionallimitMaximum number of related items to load per parent row
Column on the local (base) table used for the join (string key or property accessor)
OptionalmappersOptional post-load value transformers per foreign column
OptionaloffsetNumber of related items to skip per parent row
OptionalorderColumn to order the related items by (required for deterministic limit/offset)
Name of the field that will hold the loaded array in the result