public function filterByMap($map, $comparison = null)
    {
        if ($map instanceof \eXpansion\Bundle\Maps\Model\Map) {
            return $this
                ->addUsingAlias(MxmapTableMap::COL_TRACKUID, $map->getMapuid(), $comparison);
        } elseif ($map instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }

            return $this
                ->addUsingAlias(MxmapTableMap::COL_TRACKUID, $map->toKeyValue('PrimaryKey', 'Mapuid'), $comparison);
        } else {
            throw new PropelException('filterByMap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Map or Collection');
        }
    }
public function filterByMap($map, $comparison = null)
    {
        if ($map instanceof \eXpansion\Bundle\Maps\Model\Map) {
            return $this
                ->addUsingAlias(MxmapTableMap::COL_TRACKUID, $map->getMapuid(), $comparison);
        } elseif ($map instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }

            return $this
                ->addUsingAlias(MxmapTableMap::COL_TRACKUID, $map->toKeyValue('PrimaryKey', 'Mapuid'), $comparison);
        } else {
            throw new PropelException('filterByMap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Map or Collection');
        }
    }
public function filterByMap ( $ map , $ comparison = null ) { if ( $ map instanceof \ eXpansion \ Bundle \ Maps \ Model \ Map ) { return $ this -> addUsingAlias ( MxmapTableMap :: COL_TRACKUID , $ map -> getMapuid ( ) , $ comparison ) ; } elseif ( $ map instanceof ObjectCollection ) { if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } return $ this -> addUsingAlias ( MxmapTableMap :: COL_TRACKUID , $ map -> toKeyValue ( 'PrimaryKey' , 'Mapuid' ) , $ comparison ) ; } else { throw new PropelException ( 'filterByMap() only accepts arguments of type \eXpansion\Bundle\Maps\Model\Map or Collection' ) ; } }
Filter the query by a related \eXpansion\Bundle\Maps\Model\Map object

@param \eXpansion\Bundle\Maps\Model\Map|ObjectCollection $map The related object(s) to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@throws \Propel\Runtime\Exception\PropelException

@return ChildMxmapQuery The current query, for fluid interface
Filter the query by a related \ eXpansion \ Bundle \ Maps \ Model \ Map object