Method: Sequel::Dataset#group_cube
- Defined in:
- lib/sequel/dataset/query.rb
permalink #group_cube ⇒ Object
Adds the appropriate CUBE syntax to GROUP BY.
413 414 415 416 |
# File 'lib/sequel/dataset/query.rb', line 413 def group_cube raise Error, "GROUP BY CUBE not supported on #{db.database_type}" unless supports_group_cube? clone(:group_options=>:cube) end |