module Sequel::IBMDB::Dataset::CallableStatementMethods
Public Instance Methods
subselect_sql_append(sql, ds)
click to toggle source
Extend given dataset with this module so subselects inside subselects in prepared statements work.
# File lib/sequel/adapters/ibmdb.rb, line 364 def subselect_sql_append(sql, ds) ps = ds.to_prepared_statement(:select). clone(:append_sql=>sql, :prepared_args=>prepared_args). with_extend(CallableStatementMethods) ps = ps.bind(@opts[:bind_vars]) if @opts[:bind_vars] ps.prepared_sql end