Module Sequel::IBMDB::Dataset::CallableStatementMethods
In: lib/sequel/adapters/ibmdb.rb

Methods

Public Instance methods

Extend given dataset with this module so subselects inside subselects in prepared statements work.

[Source]

     # File lib/sequel/adapters/ibmdb.rb, line 361
361:         def subselect_sql_append(sql, ds)
362:           ps = ds.to_prepared_statement(:select).
363:             clone(:append_sql=>sql, :prepared_args=>prepared_args).
364:             with_extend(CallableStatementMethods)
365:           ps = ps.bind(@opts[:bind_vars]) if @opts[:bind_vars]
366:           ps.prepared_sql
367:         end

[Validate]