(em: EntityManager)
| 18 | readonly #em: EntityManager; |
| 19 | |
| 20 | constructor(em: EntityManager) { |
| 21 | this.#em = em; |
| 22 | this.#config = this.#em.config; |
| 23 | this.#options = this.#config.get('seeder'); |
| 24 | this.#em = this.#em.fork(); |
| 25 | this.#config.set('persistOnCreate', true); |
| 26 | } |
| 27 | |
| 28 | private async init(): Promise<void> { |
| 29 | if (this.#initialized) { |