# SchemaIgnore Decorator

Module
import { SchemaIgnore } from "@tsed/mongoose"
Source/packages/mongoose/src/decorators/schemaIgnore.ts

# Overview

function SchemaIgnore(): Function;

# Description

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

# Example

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

1
2
3
4
5