- Preparing search index...
- The search index is not available
docs.hg.fi
Methods
Static
getColumnName
- getColumnName(propertyName: string, fields: EntityField[]): string
-
Returns string
Static
getId
- getId<T, ID>(entity: T, metadata: EntityMetadata, tablePrefix?: string): ID
-
Parameters
-
entity: T
-
-
tablePrefix: string = ''
Returns ID
Static
getPropertyName
- getPropertyName(columnName: string, fields: EntityField[]): string
-
Returns string
Static
parseBoolean
- parseBoolean(input: any): boolean
-
Returns boolean
Static
parseDateAsString
- parseDateAsString(input: string | Date): string
-
Returns string
Static
parseIntegerAsString
- parseIntegerAsString(input: string | number): string
-
Returns string
Static
parseStringArray
- parseStringArray(input: string, separator: string): string[]
-
Parameters
-
input: string
-
separator: string
Returns string[]