Class SQLitePlatform

Hierarchy

  • DefaultPlatform
    • SQLitePlatform

Constructors

Properties

annotationId: string = 'sqlite'
defaultNowExpression: string = ...
defaultSqlType: string = 'text'
schemaParserType: typeof SQLiteSchemaParser = SQLiteSchemaParser
serializer: Serializer = sqliteSerializer

Methods

  • Parameters

    • sql: Sql
    • Optional limit: number
    • Optional offset: number

    Returns void

  • Parameters

    • schema: ReflectionClass<any>
    • tableName: string

    Returns SQLiteFilterBuilder

  • Unfortunately, SQLite does not support composite pks where one is AUTOINCREMENT, so we have to flag both as NOT NULL and create in either way a UNIQUE constraint over pks since those UNIQUE is otherwise automatically created by the sqlite engine.

    Parameters

    • tables: Table[]

    Returns void

  • Parameters

    • column: Column
    • typeProperty: ReflectionProperty

    Returns void

Generated using TypeDoc