File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/main/java/org/mybatis/dynamic/sql Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 36
36
<junit .jupiter.version>5.7.0</junit .jupiter.version>
37
37
<junit .platform.version>1.7.0</junit .platform.version>
38
38
<spring .batch.version>4.2.4.RELEASE</spring .batch.version>
39
- <clirr .comparisonVersion>1.1 .0</clirr .comparisonVersion>
39
+ <clirr .comparisonVersion>1.2 .0</clirr .comparisonVersion>
40
40
<module .name>org.mybatis.dynamic.sql</module .name>
41
41
<kotlin .version>1.4.10</kotlin .version>
42
42
<kotlin .compiler.jvmTarget>1.8</kotlin .compiler.jvmTarget>
45
45
<jacoco .version>0.8.5</jacoco .version>
46
46
<kotlin .code.style>official</kotlin .code.style>
47
47
<test .containers.version>1.14.3</test .containers.version>
48
+ <osgi .export>org.mybatis.dynamic.sql.*;version=${project.version} ;-noimport:=true</osgi .export>
48
49
</properties >
49
50
50
51
<build >
Original file line number Diff line number Diff line change @@ -110,20 +110,29 @@ public interface SqlBuilder {
110
110
111
111
/**
112
112
* Renders as select count(distinct column) from table...
113
+ *
114
+ * @param column the column to count
115
+ * @return the next step in the DSL
113
116
*/
114
117
static CountDSL .FromGatherer <SelectModel > countDistinctColumn (BasicColumn column ) {
115
118
return CountDSL .countDistinct (column );
116
119
}
117
120
118
121
/**
119
122
* Renders as select count(column) from table...
123
+ *
124
+ * @param column the column to count
125
+ * @return the next step in the DSL
120
126
*/
121
127
static CountDSL .FromGatherer <SelectModel > countColumn (BasicColumn column ) {
122
128
return CountDSL .count (column );
123
129
}
124
130
125
131
/**
126
132
* Renders as select count(*) from table...
133
+ *
134
+ * @param table the table to count
135
+ * @return the next step in the DSL
127
136
*/
128
137
static CountDSL <SelectModel > countFrom (SqlTable table ) {
129
138
return CountDSL .countFrom (table );
You can’t perform that action at this time.
0 commit comments