Class SQLPersistence

Hierarchy

  • DatabasePersistence
    • SQLPersistence

Constructors

Properties

connection?: SQLConnection
connectionPool: SQLConnectionPool
platform: DefaultPlatform
session: DatabaseSession<SQLDatabaseAdapter>

Methods

  • Type Parameters

    • T

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns Promise<void>

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • changeSets: DatabasePersistenceChangeSet<T>[]

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns Promise<void>

  • Parameters

    • classSchema: ReflectionClass<any>
    • fields: string[]
    • values: string[]

    Returns string

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns void

  • Parameters

    • classSchema: ReflectionClass<any>
    • count: number

    Returns void

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns Promise<void>

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • changeSets: DatabasePersistenceChangeSet<T>[]

    Returns Promise<void>

Generated using TypeDoc