limit method

ProcessedTableManager<_$SharedDatabase, $CountryTable, CountryData, $$CountryTableFilterComposer, $$CountryTableOrderingComposer, $$CountryTableAnnotationComposer, $$CountryTableCreateCompanionBuilder, $$CountryTableUpdateCompanionBuilder, (CountryData, $$CountryTableReferences), CountryData, PrefetchHooks Function({bool footballPlayerRefs, bool teacherRefs})> limit(
  1. int limit, {
  2. int? offset,
})
inherited

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));
}