Model/Base/CustomerGroup.php
public function insertAtBottom(ConnectionInterface $con = null)
    {
        $this->setPosition(ChildCustomerGroupQuery::create()->getMaxRankArray($con) + 1);

        return $this;
    }
public function insertAtBottom(ConnectionInterface $con = null)
    {
        $this->setPosition(ChildCustomerGroupQuery::create()->getMaxRankArray($con) + 1);

        return $this;
    }
public function insertAtBottom ( ConnectionInterface $ con = null ) { $ this -> setPosition ( ChildCustomerGroupQuery :: create ( ) -> getMaxRankArray ( $ con ) + 1 ) ; return $ this ; }
Insert in the last rank
The modifications are not persisted until the object is saved.

@param ConnectionInterface $con optional connection

@return    ChildCustomerGroup the current object

@throws    PropelException
Insert in the last rank The modifications are not persisted until the object is saved .