class

Altair::Record::Schema::Column

Inherits Reference < Object

One table's column.

Constructors

new(name : String, type : Symbol, null : Bool = true, primary : Bool = false)
Source

Instance methods

name

The column name.

Source
null=(null : Bool) : Nil

Updates the nullability after a change_column_null.

Source
null?

false when the column has a NOT NULL constraint.

Source
primary?

Whether this column is the primary key.

Source
type

The logical type (:string, :integer, ...).

Source