Skip to main content
Version: 6.3

EntityLoader

Index

Constructors

constructor

Methods

normalizePopulate

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

populate

  • populate<Entity, Fields>(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 the specified entities.


    Type parameters

    • Entity: object
    • Fields: string = ALL

    Parameters

    Returns Promise<void>

Page Options