import { Type } from './Type.js';
/** Passthrough type that performs no conversion, used when the column type is unknown or unrecognized. */
export class UnknownType extends Type {
  getColumnType(prop, platform) {
    return prop.columnTypes?.[0] ?? platform.getVarcharTypeDeclarationSQL(prop);
  }
  get runtimeType() {
    return 'unknown';
  }
  compareAsType() {
    return 'unknown';
  }
  ensureComparable() {
    return false;
  }
}
