Method: ROM::SQL::GroupDSL#method_missing

Defined in:
lib/rom/sql/group_dsl.rb

#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.

API:

  • private



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