Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EntityRegistry

Index

Properties

registry

registry: Map<ClassType<any>, Map<any, { ref: any; stale: boolean }>> = new Map<ClassType<any>, Map<PK, Store>>()

Methods

changeLastKnownPK

  • changeLastKnownPK<T>(classSchema: ClassSchema<T>, lastPK: any, newPK: any): void
  • Type parameters

    • T

    Parameters

    Returns void

clear

  • clear<T>(): void
  • Type parameters

    • T

    Returns void

delete

  • delete<T>(classSchema: ClassSchema<T>, pk: any): void
  • Type parameters

    • T

    Parameters

    Returns void

deleteMany

  • deleteMany<T>(classSchema: ClassSchema<T>, pks: any[]): void
  • Type parameters

    • T

    Parameters

    Returns void

get

  • get<T>(classSchema: ClassSchema<T>, pk: any): T | undefined
  • Type parameters

    • T

    Parameters

    Returns T | undefined

getStore

  • Parameters

    Returns Map<PK, Store>

isKnown

  • isKnown<T>(classSchema: ClassSchema<T>, item: T): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

store

  • Type parameters

    • T

    Parameters

    Returns void

Generated using TypeDoc