data Rotor::SQL::Raw(sql: String)

SQL written as is where a migration takes a value: a column's default that is not a literal (Rotor::SQL.raw("now()")).

/home/runner/work/rotor/rotor/src/sql.qz:35

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

/home/runner/work/rotor/rotor/src/sql.qz:35

def with(*, sql: String = …) -> Rotor::SQL::Raw

A copy with the fields given replaced.

/home/runner/work/rotor/rotor/src/sql.qz:35

def sql -> String

/home/runner/work/rotor/rotor/src/sql.qz:35