limit property Null safety

void limit=(int limit)

Configure a limit for this query.

All methods that support limit will return/process only the given number of Objects. Example use case: use together with offset to get a slice of the whole result, e.g. for "result paging".

Set limit=0 to reset to the default behavior - no limit applied.


set limit(int limit) {
  final result = checkObx(C.query_limit(_ptr, limit));
  return result;