Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 690 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 690 Bytes

OLAP.js

JavaScript Online Analytical Processing server and library for browser and Node.js

(c) 2015 Andrey Gershun (agershun@gmail.com)

Work in progress!

Express OLAP server

    var olap = require('olap');
    olap.xmla();
    olap
    olap.execute(mdx);

XMLA Interface

	var res = olap.xmla(xmla);

Here olap.js returns XML data with result.

JSON Interface

Discover cubes

	var res = olap.cubes();

Discover measures from the cube:

	var res = olap.measures(cube);

Discover measure members:

	var res = olap.levelmember(cube,measure);

Execute MDX query:

    var res = olap.mdx(mdx);

Cube description