Skip to content

Commit c9e6642

Browse files
committed
chore: update example limit values from 100 to 99
1 parent fc4d3e6 commit c9e6642

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const { sql } = getEvents({
5252
status: 'active',
5353
startDate: '2022-02-22',
5454
orderBy: 'created_at',
55-
limit: 100,
55+
limit: 99,
5656
});
5757
```
5858

@@ -64,7 +64,7 @@ FROM prod_events
6464
WHERE status = 'active'
6565
AND created_at >= '2022-02-22'
6666
ORDER BY created_at
67-
LIMIT 100
67+
LIMIT 99
6868
```
6969

7070
## Schema Validation
@@ -87,7 +87,7 @@ const { sql } = getEvents({
8787
status: 'active',
8888
startDate: '2022-02-22',
8989
orderBy: 'created_at',
90-
limit: 100,
90+
limit: 99,
9191
});
9292
```
9393

llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const { sql } = getEvents({
4141
status: 'active',
4242
startDate: '2022-02-22',
4343
orderBy: 'created_at',
44-
limit: 100,
44+
limit: 99,
4545
});
4646
```
4747

tests/define-query.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ describe('defineQuery — schema mode', () => {
6565
status: 'active',
6666
startDate: '2022-02-22',
6767
orderBy: 'created_at',
68-
limit: 100,
68+
limit: 99,
6969
});
7070

7171
expect(sql).toContain('prod_events');
7272
expect(sql).toContain("status = 'active'");
7373
expect(sql).toContain("created_at >= '2022-02-22'");
7474
expect(sql).toContain('created_at');
75-
expect(sql).toContain('100');
75+
expect(sql).toContain('99');
7676
});
7777

7878
it('renders a simple query', () => {
@@ -190,7 +190,7 @@ describe('defineQuery — schema mode', () => {
190190
status: 'active',
191191
startDate: 'not-a-date',
192192
orderBy: 'created_at',
193-
limit: 100,
193+
limit: 99,
194194
})).toThrow('Schema validation failed');
195195
});
196196

0 commit comments

Comments
 (0)