data Rotor::TableInfo(name: String, columns: Array[Rotor::Column], primary_key: Symbol?, created_at: Symbol?, updated_at: Symbol?, associations: Array[Rotor::Association])
What a model's table is, for the statements made from its values and the repository that sets its timestamps.
/home/runner/work/rotor/rotor/src/query.qz:3
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, name: String = …, columns: Array[Rotor::Column] = …, primary_key: Symbol? = …, created_at: Symbol? = …, updated_at: Symbol? = …, associations: Array[Rotor::Association] = …) -> Rotor::TableInfo
A copy with the fields given replaced.