【发布时间】:2011-10-24 09:53:42
【问题描述】:
我想通过某些参数过滤我的列表函数,查看CRUD.java controller:
List<Model> objects = type.findPage(page, search, searchFields, orderBy, order, (String) request.args.get("where"));
Long count = type.count(search, searchFields, (String) request.args.get("where"));
Long totalCount = type.count(null, null, (String) request.args.get("where"));
似乎是根据查询字符串中的 where 参数进行过滤,但我找不到任何关于 where 子句应该采用什么格式或如何使用它的文档?
【问题讨论】:
-
那么...应该作为副本关闭吗?
-
是的,你如何关闭一个问题。
标签: playframework crud playframework-1.x