prorm API Reference
    Preparing search index...

    Interface ExistsSubqueryOptions

    Exists subquery options

    interface ExistsSubqueryOptions {
        model: string | { tableName?: string; name?: string };
        where?: Record<string, any>;
        correlation?: "INNER" | "LEFT";
    }
    Index
    model: string | { tableName?: string; name?: string }

    Model or table name to check existence in

    where?: Record<string, any>

    Where conditions

    correlation?: "INNER" | "LEFT"

    Join type for EXISTS