SqlDelightEnvironment
class SqlDelightEnvironment(properties: SqlDelightDatabaseProperties, compilationUnit: SqlDelightCompilationUnit, verifyMigrations: Boolean, var dialect: SqlDelightDialect, moduleName: String, sourceFolders: List<File> = compilationUnit.sourceFolders
.filter { it.folder.exists() && !it.dependency }
.map { it.folder }, dependencyFolders: List<File> = compilationUnit.sourceFolders
.filter { it.folder.exists() && it.dependency }
.map { it.folder }) : SqlCoreEnvironment, SqlDelightProjectService
Mocks an intellij environment for compiling sqldelight files without an instance of intellij running.
Constructors
Link copied to clipboard
constructor(properties: SqlDelightDatabaseProperties, compilationUnit: SqlDelightCompilationUnit, verifyMigrations: Boolean, dialect: SqlDelightDialect, moduleName: String, sourceFolders: List<File> = compilationUnit.sourceFolders
.filter { it.folder.exists() && !it.dependency }
.map { it.folder }, dependencyFolders: List<File> = compilationUnit.sourceFolders
.filter { it.folder.exists() && it.dependency }
.map { it.folder })
Functions
Link copied to clipboard
fun annotate(extraAnnotators: Collection<SqlCompilerAnnotator>, annotationHolder: SqlAnnotationHolder)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Run the SQLDelight compiler and return the error or success status.
Link copied to clipboard
Link copied to clipboard