module Sequel::MySQL::PreparedStatements::DatasetMethods::CallableStatementMethods
Methods to add to MySQL prepared statement calls without using a real database prepared statement and bound variables.
Public Instance Methods
subselect_sql_append(sql, ds)
click to toggle source
Extend given dataset with this module so subselects inside subselects in prepared statements work.
# File lib/sequel/adapters/utils/mysql_prepared_statements.rb, line 38 def subselect_sql_append(sql, ds) ds.clone(:append_sql=>sql, :prepared_args=>prepared_args, :bind_vars=>@opts[:bind_vars]). send(:to_prepared_statement, :select, nil, :extend=>bound_variable_modules). prepared_sql end