Module: Marley::Plugins::OrmMaterializedPath::ClassMethods
- Defined in:
- lib/marley/plugins/orm_materialized_path.rb
Instance Method Summary collapse
Instance Method Details
#path_col_num ⇒ Object
19 20 21 |
# File 'lib/marley/plugins/orm_materialized_path.rb', line 19 def path_col_num columns.index(PATH_COL) end |
#roots(params = {}) ⇒ Object
16 17 18 |
# File 'lib/marley/plugins/orm_materialized_path.rb', line 16 def roots(params={}) list_dataset.filter({PATH_COL => nil}.update(params)) end |