the SQL package contains assistance for DBDs and generally will not be needed outside of them.
Helper to determine if the statement is a query. Very crude and should not be relied on for accuracy.
[Source]
# File lib/dbi/sql.rb, line 16 16: def self.query?(sql) 17: sql =~ /^\s*select\b/i 18: end
[Validate]