Module: Sequel::MySQL::Dataset::CallableStatementMethods

Module | Sequel::MySQL::Dataset::CallableStatementMethods
In: | lib/sequel_core/adapters/mysql.rb

Methods to add to MySQL prepared statement calls without using a real database prepared statement and bound variables.

### Methods

subselect_sql

### Public Instance methods

subselect_sql(ds)

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

[Source]

         # File lib/sequel_core/adapters/mysql.rb, line 213
    213:         def subselect_sql(ds)
    214:           ps = ds.to_prepared_statement(:select)
    215:           ps.extend(CallableStatementMethods)
    216:           ps.prepared_args = prepared_args
    217:           ps.prepared_sql
    218:         end

[Validate]