public interface MigrationVersionResourceExecutor extends Closeable
MigrationVersionResource.generateSqlScript(MigrationVersionResourceExecutor).
Created by tchemit on 06/05/2018.
void writeSql(String sql)
<O> O findSingleResult(TopiaSqlQuery<O> query)
<O> List<O> findMultipleResult(TopiaSqlQuery<O> query)
<O> Set<O> findMultipleResultAstSet(TopiaSqlQuery<O> query)
void doSqlWork(TopiaSqlWork sqlWork)
String getForeignKeyConstraintName(String schemaName, String tableName, String columnName, boolean mustExists)
void removeFK(String tableName)
void removeUK(String tableName)
void dropSchema(String schemaName)
void executeForPG(Consumer<MigrationVersionResourceExecutor> consumer)
void executeForH2(Consumer<MigrationVersionResourceExecutor> consumer)
Copyright © 2018 Ultreia.io. All rights reserved.