File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/main/java/org/mybatis/dynamic/sql Expand file tree Collapse file tree 1 file changed +9
-0
lines changed 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