method

preloader_for

preloader_for(reflection, owners)
private

Returns a class containing the logic needed to load preload the data and attach it to a relation. The class returned implements a `run` method that accepts a preloader.