Skip to content

Commit 261b465

Browse files
feat: Documentation on new int range without an upper bound
1 parent cf7abc9 commit 261b465

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,20 @@ Generates data within a given range. Note that a number of factors determine how
400400
1. If a `count` is provided, step will be derived from that
401401
1. Otherwise, `step` will be used
402402

403+
Here's an example that generates monotonically increasing ids for a table, starting from 1:
404+
405+
``` yaml
406+
- name: users
407+
count: 10000
408+
columns:
409+
- name: id
410+
type: range
411+
processor:
412+
type: int
413+
from: 1
414+
step: 1
415+
```
416+
403417
Here's an example that generates all dates between `2020-01-01` and `2023-01-01` at daily intervals:
404418

405419
``` yaml

0 commit comments

Comments
 (0)