Skip to main content
Version: Next

EntityTransformer

Index

Constructors

Methods

Constructors

constructor

Methods

statictoObject

  • toObject<Entity, Ignored>(entity: Entity, ignoreFields?: Ignored[], raw?: boolean): Omit<EntityDTO<Entity>, Ignored>
  • Type parameters

    • Entity: object
    • Ignored: string = never

    Parameters

    • entity: Entity
    • ignoreFields: Ignored[] = []
    • raw: boolean = false

    Returns Omit<EntityDTO<Entity>, Ignored>