Skip to content

Commit

Permalink
Fix dateRangeSumField docs example
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubknejzlik committed Sep 6, 2024
1 parent 4c9fbfc commit 860302b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stories/3_Function.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Execute logic based on conditions:
**DateRange sum field**

<QueryPreview
code={`Fn.dateRangeSumField({dateColumn:"date",valueColumn:"amount",dateFrom:dayjs().startOf('year'),dateTo:dayjs().endOf('month')})`}
code={`Fn.dateRangeSumField({dateColumn:"date",valueColumn:"amount",start:dayjs().startOf('year'),end:dayjs().endOf('month')})`}
/>

## Advanced Usage
Expand Down

0 comments on commit 860302b

Please sign in to comment.