Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Model

Hierarchy

Indexable

[key: string]: any

Index

Methods

Static compositeModelFromRow

Static modelFromRow

  • modelFromRow<T>(row: any, type: object): T
  • Type parameters

    Parameters

    • row: any
    • type: object

    Returns T

    Model (subclass of Model) instance.

Static modelsFromRows

  • modelsFromRows<T>(rows: any[], type: object): T[]
  • Type parameters

    Parameters

    • rows: any[]
    • type: object

    Returns T[]

    Model (subclass of Model) instances.