Skip to content

@joakimbugge/typeorm-seeder


@joakimbugge/typeorm-seeder / RunSeedersOptions

Type Alias: RunSeedersOptions

ts
type RunSeedersOptions = Omit<BaseRunSeedersOptions<SeedContext>, "logging"> & object;

Defined in: packages/typeorm-seeder/src/seeder/runner.ts:10

Options for runSeeders. Extends the base options with TypeORM-specific logging.

Type Declaration

logging?

ts
optional logging?: false | true | "typeorm";
  • 'typeorm' — delegates to the TypeORM logger on the provided dataSource. Output follows TypeORM's own logging configuration: if TypeORM logging is disabled, seeder output is suppressed too. Silently no-ops when no dataSource is available.

Released under the MIT License.