public function filterByFeatureAv($featureAv, $comparison = null)
    {
        if ($featureAv instanceof \Thelia\Model\FeatureAv) {
            return $this
                ->addUsingAlias(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $featureAv->getId(), $comparison);
        } elseif ($featureAv instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }

            return $this
                ->addUsingAlias(FeatureTypeAvMetaTableMap::FEATURE_AV_ID, $featureAv->toKeyValue('PrimaryKey', 'Id'), $comparison);
        } else {
            throw new PropelException('filterByFeatureAv() only accepts arguments of type \Thelia\Model\FeatureAv or Collection');
        }
    }