Skip to content

Commit

Permalink
feat: Documentation on new int range without an upper bound
Browse files Browse the repository at this point in the history
  • Loading branch information
codingconcepts committed Apr 26, 2024
1 parent cf7abc9 commit 261b465
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,20 @@ Generates data within a given range. Note that a number of factors determine how
1. If a `count` is provided, step will be derived from that
1. Otherwise, `step` will be used

Here's an example that generates monotonically increasing ids for a table, starting from 1:

``` yaml
- name: users
count: 10000
columns:
- name: id
type: range
processor:
type: int
from: 1
step: 1
```

Here's an example that generates all dates between `2020-01-01` and `2023-01-01` at daily intervals:

``` yaml
Expand Down

0 comments on commit 261b465

Please sign in to comment.