我想在QueryService
类中实现查询服务,在其中可以嵌套OR
条件同时在多个列中搜索数据:
SELECT * FROM some_entity WHERE attr_a LIKE '%some search%' OR attr_b LIKE '%some search%' ...
实现将是这样的:
http://localhost:8080/api/some_entity_restPoint?[attr_a,attr_b].contains=some search
我想在QueryService
类中实现查询服务,在其中可以嵌套OR
条件同时在多个列中搜索数据:
SELECT * FROM some_entity WHERE attr_a LIKE '%some search%' OR attr_b LIKE '%some search%' ...
实现将是这样的:
http://localhost:8080/api/some_entity_restPoint?[attr_a,attr_b].contains=some search