# MongooseVirtualRefOptions Interface

Module
import { MongooseVirtualRefOptions } from "@tsed/mongoose"
Source/packages/mongoose/src/interfaces/MongooseVirtualRefOptions.ts

# Overview

interface MongooseVirtualRefOptions {
    type: string | Type<any>;
    foreignField: string;
    localField?: string;
    justOne?: boolean;
    options?: object;
}