Class: ROM::SQL::GroupDSL Private

Inherits:
DSL
  • Object
show all
Defined in:
lib/rom/sql/group_dsl.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from DSL

#picked_relations, #relations, #schema

Method Summary

Methods inherited from DSL

#`, #call, #exists, #initialize

Constructor Details

This class inherits a constructor from ROM::SQL::DSL

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth) ⇒ Object (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



17
18
19
20
21
22
23
# File 'lib/rom/sql/group_dsl.rb', line 17

def method_missing(meth, ...)
  if schema.key?(meth)
    schema[meth].canonical
  else
    ::Sequel::VIRTUAL_ROW.__send__(meth.to_s, ...)
  end
end