method

execute_and_free

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AbstractMysqlAdapter
execute_and_free(sql, name = nil, async: false) 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.