Package app. cash. sqldelight. db
Types
Represents a block of code block that should be executed during a migration after the migration has finished migrating to afterVersion.
Represents a block of code block that should be executed during a migration after the migration has finished migrating to afterVersion. Unlike AfterVersion, this version's lambda accepts a SqlDriver as a parameter to make migrations easier.
Represents a SQL statement that has been prepared by a driver to be executed.
Functions
Run SqlDriver.Schema.migrate normally but execute callbacks during the migration whenever it finished upgrading to a version specified by AfterVersion.afterVersion. This method takes AfterVersionWithDriver callbacks, which receive a SqlDriver parameter when invoked.
Run SqlDriver.Schema.migrate normally but execute callbacks during the migration whenever it finished upgrading to a version specified by AfterVersion.afterVersion. This method takes AfterVersion callbacks, which receive no parameters when invoked.
Wrap an AfterVersion as an AfterVersionWithDriver.
Run body on the receiver and call Closeable.close before returning or throwing.