Sha256: 3c41340433c9c3ce133d9e6203568f6ef266d6cccbca82af55ba607f936b1f0a

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

require 'bundler'
Bundler.require
require 'pry'

ActiveRecord::Base.establish_connection(YAML.load_file('./database.yml'))
require './domain'

query = "SELECT {[Measures].[Balance]} ON COLUMNS, {[Customers].children} ON ROWS FROM [CubeAccountSnapshots] WHERE ([Date].[2012].[4])"

cas = CubeAccountSnapshot.last

binding.pry

cas.mdx query

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubiks-0.0.3 examples/finance/app.rb
rubiks-0.0.2 examples/finance/app.rb