Public Instance methods
subselect_sql_append(sql, ds)
Extend given dataset with this module so subselects inside subselects in prepared statements work.
[show source]
# File lib/sequel/adapters/utils/mysql_prepared_statements.rb 35 def subselect_sql_append(sql, ds) 36 ds.clone(:append_sql=>sql, :prepared_args=>prepared_args, :bind_vars=>@opts[:bind_vars]). 37 send(:to_prepared_statement, :select, nil, :extend=>bound_variable_modules). 38 prepared_sql 39 end