Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { Trim } from "@tsed/mongoose";
See /packages/orm/mongoose/src/types/decorators/trim.ts.
function Trim(): Function;
Tell Mongoose to make the property trimmable.
@Model() export class EventModel { @Trim() name: string; }