Skip to main content

Column

The column object.

Once a table introspection succeeds, it creates a new table object for every table it introspected. Within each table object, it also creates a column object for every column it introspected.

fields

  • name non-null String

    The column's name.

  • type non-null String

    The column's type.

  • isNullable nullable Boolean

    Whether the column is nullable, meaning whether it accepts a null value.

  • cachedAt non-null DateTime

    The time at which the column was cached (i.e., the time at which it was introspected).

  • createdAt non-null DateTime

    The time at which the column was created. This is the same as its cachedAt time.

  • createdBy non-null String

    The columns's creator. This corresponds to the initiator of the table introspection. It can be either a User ID, an Application ID, or "system" if it was created by Propel.