You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
map_contains_value.js is used to handle Entity fields from Map value
Example:
class Person {
private Address mainAddress;
...
}
class Address {
private Map<String, RoomDescription> roomDescription;
...
}
class RoomDescription {
private Double area;
private String floor;
private Integer windows;
private RoomType type;
}
Example of query with equals operator: /search/person?query=mainAddress.roomDescription.value.type='OFFICE'
But we cannot search for other operators /search/person?query=mainAddress.roomDescription.value.area>20 AND mainAddress.roomDescription.value.area<30 /search/person?query=mainAddress.roomDescription.value.floor LIKE '*first*' /search/person?query=mainAddress.roomDescription.value.floor ILIKE '*FIRST*'
...
map_contains_value.js
is used to handle Entity fields from Map valueExample:
Example of query with
equals
operator:/search/person?query=mainAddress.roomDescription.value.type='OFFICE'
But we cannot search for other operators
/search/person?query=mainAddress.roomDescription.value.area>20 AND mainAddress.roomDescription.value.area<30
/search/person?query=mainAddress.roomDescription.value.floor LIKE '*first*'
/search/person?query=mainAddress.roomDescription.value.floor ILIKE '*FIRST*'
...
Update the
map_contains_value.js
file to handle other operators:Update
MongoQueryBuilder
to usemap_contains_value.js
for other operatorsThe text was updated successfully, but these errors were encountered: