data Rotor::Preload(name: Symbol, nested: Array[Rotor::Preload])

An association a preload names, with those to preload of its models (Rotor::Repo#preload: { [nest(posts) { comments }, account] }).

/home/runner/work/rotor/rotor/src/preload.qz:3

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

/home/runner/work/rotor/rotor/src/preload.qz:3

def with(*, name: Symbol = …, nested: Array[Rotor::Preload] = …) -> Rotor::Preload

A copy with the fields given replaced.

/home/runner/work/rotor/rotor/src/preload.qz:3

def name -> Symbol

/home/runner/work/rotor/rotor/src/preload.qz:3

def nested -> Array[Rotor::Preload]

/home/runner/work/rotor/rotor/src/preload.qz:3