File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/main/kotlin/org/mybatis/dynamic/sql/util/kotlin Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 16
16
package org.mybatis.dynamic.sql.util.kotlin
17
17
18
18
import org.mybatis.dynamic.sql.SqlColumn
19
- import org.mybatis.dynamic.sql.insert.GeneralInsertDSL
20
- import org.mybatis.dynamic.sql.insert.InsertDSL
21
- import org.mybatis.dynamic.sql.insert.MultiRowInsertDSL
19
+ import org.mybatis.dynamic.sql.insert.*
22
20
import org.mybatis.dynamic.sql.update.UpdateDSL
23
21
import org.mybatis.dynamic.sql.update.UpdateModel
24
22
import org.mybatis.dynamic.sql.util.Buildable
25
23
26
24
// insert completers are here because sonar doesn't see them as covered if they are in a file by themselves
27
- typealias GeneralInsertCompleter = GeneralInsertDSL .() -> GeneralInsertDSL
25
+ typealias GeneralInsertCompleter = GeneralInsertDSL .() -> Buildable < GeneralInsertModel >
28
26
29
- typealias InsertCompleter <T > = InsertDSL <T >.() -> InsertDSL < T >
27
+ typealias InsertCompleter <T > = InsertDSL <T >.() -> Buildable < InsertModel < T > >
30
28
31
- typealias MultiRowInsertCompleter <T > = MultiRowInsertDSL <T >.() -> MultiRowInsertDSL < T >
29
+ typealias MultiRowInsertCompleter <T > = MultiRowInsertDSL <T >.() -> Buildable < MultiRowInsertModel < T > >
32
30
33
31
typealias UpdateCompleter = KotlinUpdateBuilder .() -> Buildable <UpdateModel >
34
32
You can’t perform that action at this time.
0 commit comments