Skip to main content
Version: 6.4

EntityValidator

Index

Constructors

constructor

Properties

KNOWN_TYPES

KNOWN_TYPES: Set<string> = ...

Methods

validate

validateEmptyWhere

validateParams

  • validateParams(params: any, type?: string, field?: string): void
  • Parameters

    • params: any
    • type: string = 'search condition'
    • optionalfield: string

    Returns void

validatePrimaryKey

validateProperty

  • validateProperty(prop: EntityProperty<any, any>, givenValue: any, entity: T): any
  • Parameters

    Returns any

validateRequired

  • validateRequired(entity: T): void
  • Parameters

    • entity: T

    Returns void