Method: SQL::QueryMaker._sql_op
- Defined in:
- lib/sql/query_maker.rb
._sql_op(fn, builder, column, bind) ⇒ Object
157 158 159 160 161 162 |
# File 'lib/sql/query_maker.rb', line 157 def _sql_op(fn, builder, column, bind) return SQL::QueryMaker.new(column, Proc.new {|column, quote_cb| croak("no column binding for fn(bind...)") unless column term = builder.call(quote_cb.call(column)) }, bind) end |