like method

bool like(
  1. ColumnType other
)

Implementation

bool like(ColumnType other) {
  // Integer and bigint are considered the same type.
  if (this == ColumnType.integer || this == ColumnType.bigint) {
    return other == ColumnType.integer || other == ColumnType.bigint;
  }

  return this == other;
}