Skip to main content

Function: Ignore()

Ignore(): PropertyDecorator

Defined in: src/decorators/PrimaryKey.ts:84

Property decorator telling the ORM to completely ignore this property during database operations.

Returns​

PropertyDecorator

Usecase​

Exclude calculated/computed fields, client state, or transient helper properties from SQL queries and persistence.

Example​

@Ignore()
temporaryToken?: string;