method

execute_and_free

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters
execute_and_free(sql, name = nil) public

Mysql2Adapter doesn’t have to free a result after using it, but we use this method to write stuff in an abstract way without concerning ourselves about whether it needs to be explicitly freed or not.

Show source
Register or log in to add new notes.