上次更新日期:
Apr 29, 2021 08:22:18 AM GMT
|
同时适用于: CRX
Problem, Question
You would like to limit the resultset that is returned (Like a âTopâ in MS SQL, a âLIMITâ in MySQL or âROWNUMâ in Oracle ).
Resolution, Answer
You can call com.day.crx.query.lucene.CRXQuery.setLimit(long limit)
method before you execute the query.
Applies to
CRX 1.4.x
登录到您的帐户