File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
src/main/java/com/simplesql/simplesql/config Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
77 defaultConfig {
88 minSdkVersion 11
99 targetSdkVersion 29
10- versionCode 20
11- versionName " 1.0.19 "
10+ versionCode 21
11+ versionName " 1.0.20 "
1212
1313 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1414 consumerProguardFiles ' consumer-rules.pro'
Original file line number Diff line number Diff line change @@ -122,11 +122,6 @@ public Select column(String column) {
122122 return this ;
123123 }
124124
125- public Select functionParameter (String column ) {
126- this .columnFunction = column ;
127- return this ;
128- }
129-
130125 public Select limit (int number ) {
131126 SQLString = SQLString + " LIMIT " + number ;
132127 return this ;
@@ -254,7 +249,7 @@ public List execute() {
254249 if (functionParameter ) {
255250 if (columnFunction == null || columnFunction .equals ("" ))
256251 columnFunction = "*" ;
257- SQLString .replace (KEY_FUNCTION_PARAMETER , columnFunction );
252+ SQLString = SQLString .replace (KEY_FUNCTION_PARAMETER , fields [ 0 ] );
258253 }
259254 SQLString = SQLString + ";" ;
260255 List lstClasses = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments