"SequoiaDB Giant Sequoia Database" limit() Overview 1

grammar

query.limit( <num> )

category

SdbQuery

description

Control the number of records returned by the query.

parameter

Note:

The definition format of the query.limit() method includes the num parameter, which is of type int. If the content of num is not set, it is equivalent to returning all result set records. If the number of records in the result set is less than num, it will be returned as the actual number of records. If the number of records in the result set is greater than num, only the first num records will be returned.

 

Click on Jushan Database Documentation Center for more information

Guess you like

Origin blog.csdn.net/weixin_45890253/article/details/113109129