instance method
select_prepared
Ruby on Rails 6.1.7.10
Since v5.2.8.1 Last seen in v6.1.7.10 PrivateSignature
select_prepared(sql, name = nil, binds = [])
No documentation comment.
Parameters
-
sqlreq -
nameopt = nil -
bindsopt = []
Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 535
def select_prepared(sql, name = nil, binds = [])
exec_query(sql, name, binds, prepare: true)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb line 535
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::DatabaseStatements