Class SQLDatabaseAdapterAbstract

Hierarchy

  • DatabaseAdapter
    • SQLDatabaseAdapter

Constructors

Properties

connectionPool: SQLConnectionPool
platform: DefaultPlatform

Methods

  • Creates (and re-creates already existing) tables in the database. This is only for testing purposes useful.

    WARNING: THIS DELETES ALL AFFECTED TABLES AND ITS CONTENT.

    Parameters

    • entityRegistry: DatabaseEntityRegistry

    Returns Promise<void>

  • Parameters

    • schema: ReflectionClass<any>

    Returns Promise<number>

  • Parameters

    • entityRegistry: DatabaseEntityRegistry

    Returns Promise<{
        [name: string]: {
            diff: string;
            sql: string[];
        };
    }>

  • Parameters

    • schema: ReflectionClass<any>

    Returns Promise<number>

  • Returns boolean

  • Parameters

    • entityRegistry: DatabaseEntityRegistry

    Returns Promise<void>

Generated using TypeDoc