Module | Sequel::MySQL::Dataset::CallableStatementMethods
In: | lib/sequel/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/adapters/mysql.rb, line 267
    267:         def subselect_sql(ds)
    268:           ps = ds.to_prepared_statement(:select)
    269:           ps.extend(CallableStatementMethods)
    270:           ps = ps.bind(@opts[:bind_vars]) if @opts[:bind_vars]
    271:           ps.prepared_args = prepared_args
    272:           ps.prepared_sql
    273:         end

[Validate]