Skip to content

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 ​

ParameterTypeDescription
cubeNamestringThe cube's name or id.

Returns ​

boolean

true when it succeeds, or false when the cube can't be found.

Examples ​

js
cube.save("Sales");