Skip to content

Commit ea7cae5

Browse files
author
Andrew Grosner
committed
updated to version 2.2.1. fixed issue where COLLATE wasn't appended properly
1 parent 9c0d36d commit ea7cae5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DBFlow/src/main/java/com/raizlabs/android/dbflow/sql/language/OrderBy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public String getQuery() {
106106
}
107107
queryBuilder.appendSpace().append(ascending ? "ASC" : "DESC");
108108
if (orderByCollation != null) {
109-
queryBuilder.appendSpace().appendSpaceSeparated(orderByCollation);
109+
queryBuilder.appendSpace().append("COLLATE").appendSpaceSeparated(orderByCollation);
110110
}
111111
}
112112
return queryBuilder.getQuery();

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=2.2.0
1+
version=2.2.1
22
version_code=1
33
group=com.raizlabs.android
44

0 commit comments

Comments
 (0)