Member Junction
    Preparing search index...

    Configuration for the batch converter

    interface BatchConverterConfig {
        EnablePostProcess?: boolean;
        IncludeHeader?: boolean;
        OnProgress?: (message: string) => void;
        OutputFile?: string;
        Rules: IConversionRule[];
        Schema?: string;
        Source: string;
        SourceDialect?: string;
        SourceIsFile: boolean;
        TargetDialect?: string;
    }
    Index

    Properties

    EnablePostProcess?: boolean

    Enable post-processing pass (default: true)

    IncludeHeader?: boolean

    Include PG header with extensions, schema, and implicit cast

    OnProgress?: (message: string) => void

    Progress callback

    OutputFile?: string

    Output file path (optional)

    Conversion rules to apply

    Schema?: string

    Target schema name (default: '__mj')

    Source: string

    Input SQL file path or raw SQL string

    SourceDialect?: string

    Source dialect (default: 'tsql')

    SourceIsFile: boolean

    Whether Source is a file path (true) or raw SQL string (false)

    TargetDialect?: string

    Target dialect (default: 'postgres')