method

execute

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::DatabaseStatements

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

execute(sql, name = nil, async: false)
public

Executes the SQL statement in the context of this connection.