Sha256: 027c6593f23da32507ad2a0cb420a745c793cb34a0a2bf514cc19720ba2ad0ad
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
require 'rom/sql/dsl' require 'rom/sql/expression' module ROM module SQL class OrderDSL < DSL private # @api private def method_missing(meth, *args, &block) if schema.key?(meth) attr = schema[meth] ::ROM::SQL::Expression.new(schema[meth]) else ::Sequel::VIRTUAL_ROW.__send__(meth, *args, &block) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-sql-1.0.0.beta1 | lib/rom/sql/order_dsl.rb |