prorm API Reference
    Preparing search index...

    Interface SeederOptions

    Options for the SeederRunner

    interface SeederOptions {
        seedersPath?: string;
        seedsTableName?: string;
        pattern?: RegExp;
        env?: string;
    }
    Index
    seedersPath?: string

    Path to seeder files directory

    seedsTableName?: string

    Table name to track executed seeders (default: 'PrormData')

    pattern?: RegExp

    File pattern to match seeder files

    env?: string

    The current environment used to scope env-specific seeders. When not provided, it falls back to process.env.NODE_ENV. A seeder that declares an env only runs when it equals this value; if neither is resolvable, env-scoped seeders are skipped entirely.