* Skip a number of rows before returning results * `orderBy` is required for `offset` * * @param count - Number of rows to skip * @returns A QueryBuilder with the offset applied * * @example * ```ts * // Get second page of results * query * .from({ posts: postsCollect
(count: number)
| 760 | * ``` |
| 761 | */ |
| 762 | offset(count: number): QueryBuilder<TContext> { |
| 763 | return new BaseQueryBuilder({ |
| 764 | ...this.query, |
| 765 | offset: count, |
| 766 | }) as any |
| 767 | } |
| 768 | |
| 769 | /** |
| 770 | * Specify that the query should return distinct rows. |
no outgoing calls