json method

  1. @protected
ColumnBuilder<DatabaseJson> json()

Use this as the body of a getter to declare a column that holds strings. Example (inside the body of a table class):

TextColumn get name => text()();

Implementation

@protected
@DriftColumnDeclarationBuilder._(BuiltinSqlType.json)
ColumnBuilder<DatabaseJson> json() => isGenerated();