# File lib/arjdbc/mssql/limit_helpers.rb, line 82
82: def add_limit_offset!(sql, options)
83: if options[:limit]
84: order = "ORDER BY #{options[:order] || determine_order_clause(sql)}"
85: sql.sub!(/ ORDER BY.*$/, '')
86: SqlServerReplaceLimitOffset.replace_limit_offset!(sql, options[:limit], options[:offset], order)
87: end
88: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.