Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyMapStore

Stores property maps for each Table-decorated Entity. A property map is a simple key-value pair. The keys are all the properties of Entity, and each maps to the property name as a string.

Hierarchy

  • PropertyMapStore

Index

Methods

addProperty

  • addProperty(Entity: TableType, property: string): this

getPropertyMap

  • Get the property map for a table. For each property in the Table-decorated Entity, the property map is a simple key-value pair. The keys are all the properties of Entity, and each maps to the property name as a string.

    Parameters

    • Entity: TableType

      The Table-decorated Entity.

    • Optional alias: string

      An optional table alias. If supplied each value in the property map will be prefixed with the alias as <alias>.<property>.

    Returns PropertyMapType

Generated using TypeDoc