compatibleTo method

bool compatibleTo(
  1. ResultColumn other
)

Checks whether this column is compatible to the other, meaning that they have the same name and type.

Implementation

bool compatibleTo(ResultColumn other) {
  return other.name == name &&
      other.type == type &&
      other.nullable == nullable &&
      other.typeConverter == typeConverter;
}