col<T extends Object> method

  1. @protected
ColumnBuilder<T> col<T extends Object>(
  1. SqlType<T> type
)
inherited

Defines a column with a non-standard SQL type.

For more information on custom types and when they can be useful, see https://drift.simonbinder.eu/docs/sql-api/types/.

For most users, TypeConverters are a more appropriate tool to store custom values in the database.

Implementation

@protected
ColumnBuilder<T> col<T extends Object>(SqlType<T> type) => isGenerated();