limit method

ProcessedTableManager<$Database, $Table, $Dataclass, $FilterComposer, $OrderingComposer, $ComputedFieldComposer, $CreateCompanionCallback, $UpdateCompanionCallback, $DataclassWithReferences, $ActiveDataclass, $CreatePrefetchHooksCallback> limit(
  1. int limit, {
  2. int? offset,
})

Add a limit to the statement

Implementation

ProcessedTableManager<
    $Database,
    $Table,
    $Dataclass,
    $FilterComposer,
    $OrderingComposer,
    $ComputedFieldComposer,
    $CreateCompanionCallback,
    $UpdateCompanionCallback,
    $DataclassWithReferences,
    $ActiveDataclass,
    $CreatePrefetchHooksCallback> limit(int limit, {int? offset}) {
  return ProcessedTableManager($state.copyWith(limit: limit, offset: offset));
}