Skip to content

Commit

Permalink
6.0.12 fix database
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Sep 24, 2023
1 parent 045e9f4 commit 7a39680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import java.sql.ResultSet
*/
open class ResultProcessorList(processors: List<ResultProcessor>, val source: ExecutableSource? = null) {

val processors = processors.toMutableList()
private val processors = processors.toMutableList()

/** 是否已经执行 */
var isExecuted = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ open class Table<T : Host<E>, E : ColumnBuilder>(val name: String, val host: Hos
workspace(dataSource) { createTable(checkExists) }.run()
}

open fun select(dataSource: DataSource, func: ActionSelect.() -> Unit): ResultProcessor {
return workspace(dataSource) { select(func) }.processors.first()
open fun select(dataSource: DataSource, func: ActionSelect.() -> Unit): ResultProcessorList {
return workspace(dataSource) { select(func) }
}

open fun find(dataSource: DataSource, func: ActionSelect.() -> Unit): Boolean {
Expand Down

0 comments on commit 7a39680

Please sign in to comment.