Skip to main content
Version: 5.9

EntityLoader

Index

Constructors

constructor

Methods

normalizePopulate

  • normalizePopulate<T>(entityName, populate, strategy, lookup): PopulateOptions<T>[]

populate

  • populate<T, P>(entityName, entities, populate, options): Promise<void>
  • Loads specified relations in batch. This will execute one query for each relation, that will populate it on all of the specified entities.


    Type parameters

    • T: object
    • P: string = never

    Parameters

    Returns Promise<void>

Page Options