Type Parameters

  • TEntity extends object

Hierarchy

  • InsertCommand

Implements

Constructors

  • Type Parameters

    • TEntity extends object

    Parameters

    • entityType: Constructor<TEntity>
    • entities: ReadonlyArrayOrSingle<DeepPartial<TEntity>>
    • Optional options: {
          ignoreIfExists?: boolean;
      }
      • Optional Readonly ignoreIfExists?: boolean

    Returns InsertCommand<TEntity>

Properties

description: string
entities: readonly DeepPartial<TEntity>[]
entityType: Constructor<TEntity>
ignoreIfExists: boolean

Methods

  • Parameters

    • dbManager: EntityManager

    Returns Promise<InsertResult>

Generated using TypeDoc