effectivelyNoAlias property

bool effectivelyNoAlias

Whether the column alias can be ignored.

This is the case if each result column name maps to a moor column with the same name.

Implementation

bool get effectivelyNoAlias {
  return !aliasToColumn.entries
      .any((entry) => entry.key != entry.value.name.name);
}