public function setType($mappingType)
    {
        $this->getDomain()->setType($mappingType);

        if (in_array($mappingType, [ PropelTypes::VARBINARY, PropelTypes::LONGVARBINARY, PropelTypes::BLOB ])) {
            $this->needsTransactionInPostgres = true;
        }
    }
public function setType($mappingType)
    {
        $this->getDomain()->setType($mappingType);

        if (in_array($mappingType, [ PropelTypes::VARBINARY, PropelTypes::LONGVARBINARY, PropelTypes::BLOB ])) {
            $this->needsTransactionInPostgres = true;
        }
    }
public function setType ( $ mappingType ) { $ this -> getDomain ( ) -> setType ( $ mappingType ) ; if ( in_array ( $ mappingType , [ PropelTypes :: VARBINARY , PropelTypes :: LONGVARBINARY , PropelTypes :: BLOB ] ) ) { $ this -> needsTransactionInPostgres = true ; } }
Sets the mapping column type.

@param string $mappingType
@see Domain::setType()
Sets the mapping column type .