TestColumnDefinitions<R> extension

Driverless integer/text column shorthands for test schemas.

on
  • SchemaBuilder<R>

Methods

integer<W extends int?>(String name, Field<R, W> field, {ColumnOr<int>? defaultValue}) → ColumnType<W>

Available on SchemaBuilder<R>, provided by the TestColumnDefinitions extension

An int column, stored as an INTEGER, optionally with a defaultValue.
text<W extends String?>(String name, Field<R, W> field, {ColumnOr<String>? defaultValue}) → ColumnType<W>

Available on SchemaBuilder<R>, provided by the TestColumnDefinitions extension

A String column, stored as a TEXT, optionally with a defaultValue.