Skip to content

Function: ODataEntitySet()

ODataEntitySet(name): ClassDecorator

Defined in: packages/core/src/decorators/odata-entity-set.decorator.ts:10

@ODataEntitySet(name) — override the entity set name for an entity class. Without this decorator, the adapter will auto-pluralize the class name.

Zero imports from typeorm, @nestjs/common, or any ORM. Pure reflect-metadata.

Parameters

name

string

Returns

ClassDecorator