mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
Fix PropertiesParser with "*,foo"
This commit is contained in:
1 parent
afe98c6d90
commit
85ec1d3d84
1 file changed
+3
-1
+3
-1
@@ -37,7 +37,9 @@ final class OrmQueryPropertiesParser {
|
||||
if (rawProperties.equals("*")) {
|
||||
return ALL;
|
||||
}
|
||||
return new Response(false, splitRawSelect(rawProperties));
|
||||
final Set<String> included = splitRawSelect(rawProperties);
|
||||
final boolean selectAll = included.remove("*");
|
||||
return new Response(selectAll, included);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user