Skip to content

Commit

Permalink
Update pre-aggregations.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed May 25, 2020
1 parent b1c179d commit 71f2d8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/Schema/pre-aggregations.md
Expand Up @@ -324,6 +324,9 @@ cube(`Orders`, {
```

As in case of cube pre-aggregations `refreshKey` can define `every` parameter which can be used to refresh pre-aggregations based on time interval.

> **NOTE:** `every` parameter doesn't force Cube.js to fetch `refreshKey` based on it's interval. It generates SQL which result set change at least once per defined interval and adjusts `refreshKeyRenewalThreshold` accordingly.
For example:

```javascript
Expand Down

0 comments on commit 71f2d8c

Please sign in to comment.