public function filterByApiUrl($apiUrl = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($apiUrl)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $apiUrl)) {
                $apiUrl = str_replace('*', '%', $apiUrl);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(RemoteAppPeer::API_URL, $apiUrl, $comparison);
    }