Dynamic query with search container liferay

纵饮孤独 提交于 2019-12-12 02:05:10

问题


I am facing problem in dynamic query. I didn't get any solution how can i do following query in liferay dynamic query.

mysql> select date_,count(*) from Clipping group by date_;
+---------------------+----------+
| date_               | count(*) |
+---------------------+----------+
| 2014-10-17 00:00:00 |        1 |
| 2014-10-24 00:00:00 |        2 |
| 2014-10-29 00:00:00 |        1 |
| 2014-11-15 00:00:00 |        1 |
| 2014-10-20 00:00:00 |        1 |
| 2014-10-24 00:00:00 |        1 |
| 2014-10-31 00:00:00 |        1 |
| 2014-10-10 00:00:00 |        1 |
| 2014-10-28 00:00:00 |        2 |
| 2014-10-15 00:00:00 |        2 |
| 2014-10-25 00:00:00 |        1 |
| 2014-11-20 00:00:00 |        1 |
| 2014-10-18 00:00:00 |        2 |
+---------------------+----------+
13 rows in set (0.00 sec)

I just want to set this record in my search container How is it possible?? please help me Thanks

来源:https://stackoverflow.com/questions/26501584/dynamic-query-with-search-container-liferay

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!