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.
Extend given dataset with this module so subselects inside subselects in prepared statements work.
# File lib/sequel/adapters/mysql.rb, line 254 254: def subselect_sql(ds) 255: ps = ds.to_prepared_statement(:select) 256: ps.extend(CallableStatementMethods) 257: ps.prepared_args = prepared_args 258: ps.prepared_sql 259: end