app.cash.sqldelight.dialects.sqlite_3_25.SqliteDialect.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlite-3-25-dialect Show documentation
Show all versions of sqlite-3-25-dialect Show documentation
The SQLite v3.25 Dialect for SQLDelight
The newest version!
package app.cash.sqldelight.dialects.sqlite_3_25
import app.cash.sqldelight.dialect.api.MigrationSquasher
import app.cash.sqldelight.dialects.sqlite_3_24.SqliteDialect as Sqlite324Dialect
import app.cash.sqldelight.dialects.sqlite_3_25.grammar.SqliteParserUtil
open class SqliteDialect : Sqlite324Dialect() {
override fun setup() {
super.setup()
SqliteParserUtil.reset()
SqliteParserUtil.overrideSqlParser()
}
override fun migrationSquasher(parentSquasher: MigrationSquasher): MigrationSquasher {
return SqliteMigrationSquasher(super.migrationSquasher(parentSquasher))
}
}