Skip to content

SchemaIgnore

@tsed/mongoose

Usage

typescript
import { SchemaIgnore } from "@tsed/mongoose";

See /packages/orm/mongoose/src/types/decorators/schemaIgnore.ts.

Overview

ts
function SchemaIgnore(): Function;

Description

Do not apply this property to schema (create virtual property)

Example

typescript
@Model()
@SchemaIgnore()
@Property()
kind: string;

Released under the MIT License.