find_cmd_and_exec(commands, *args)private
No documentation available.
# File railties/lib/rails/commands/dbconsole/dbconsole_command.rb, line 66
def find_cmd_and_exec(commands, *args) # :doc:
Rails.deprecator.warn(<<~MSG.squish)
Rails::DBConsole#find_cmd_and_exec is deprecated and will be removed in Rails 7.2.
Please use find_cmd_and_exec on the connection adapter class instead.
MSG
ActiveRecord::Base.connection.find_cmd_and_exec(commands, *args)
end