method
execute
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::DatabaseStatements
execute(sql, name = nil)public
Executes an SQL statement, returning a PGresult object on success or raising a PGError exception otherwise.