Merge "People might want GROUP_CONCAT." into qt-dev

This commit is contained in:
Jeff Sharkey
2019-04-10 19:05:19 +00:00
committed by Android (Google) Code Review

View File

@@ -52,7 +52,7 @@ public class SQLiteQueryBuilder {
private static final Pattern sLimitPattern =
Pattern.compile("\\s*\\d+\\s*(,\\s*\\d+\\s*)?");
private static final Pattern sAggregationPattern = Pattern.compile(
"(?i)(AVG|COUNT|MAX|MIN|SUM|TOTAL)\\((.+)\\)");
"(?i)(AVG|COUNT|MAX|MIN|SUM|TOTAL|GROUP_CONCAT)\\((.+)\\)");
private Map<String, String> mProjectionMap = null;
private List<Pattern> mProjectionGreylist = null;