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

Public Instance methods

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]