cube.save
Saves a cube's data to disk straight away.
The server saves cubes on its own, so you don't normally need this. You can use it at the end of a large data load to have the result on disk without waiting for the next save. Saving a large cube can take a while.
js
cube.save(cubeName)Parameters
| Parameter | Type | Description |
|---|---|---|
cubeName | string | The cube's name or id. |
Returns
booleantrue when it succeeds, or false when the cube can't be found.
Examples
js
cube.save("Sales");