Method: GoodData::Model::SchemaBuilder#add_fact

Defined in:
lib/gooddata/models/blueprint/schema_builder.rb

#add_fact(id, options = {}) ⇒ Object



57
58
59
60
61
# File 'lib/gooddata/models/blueprint/schema_builder.rb', line 57

def add_fact(id, options = {})
  data = { type: :fact, id: id }.merge(options)
  add_column(data)
  self
end