src/model/Base/ReferenceQuery.php
public function filterByBooktitle($booktitle = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($booktitle)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $booktitle)) {
                $booktitle = str_replace('*', '%', $booktitle);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(ReferenceTableMap::COL_BOOKTITLE, $booktitle, $comparison);
    }
public function filterByBooktitle($booktitle = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($booktitle)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $booktitle)) {
                $booktitle = str_replace('*', '%', $booktitle);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(ReferenceTableMap::COL_BOOKTITLE, $booktitle, $comparison);
    }
public function filterByBooktitle ( $ booktitle = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ booktitle ) ) { $ comparison = Criteria :: IN ; } elseif ( preg_match ( '/[\%\*]/' , $ booktitle ) ) { $ booktitle = str_replace ( '*' , '%' , $ booktitle ) ; $ comparison = Criteria :: LIKE ; } } return $ this -> addUsingAlias ( ReferenceTableMap :: COL_BOOKTITLE , $ booktitle , $ comparison ) ; }
Filter the query on the booktitle column

Example usage:
<code>
$query->filterByBooktitle('fooValue');   // WHERE booktitle = 'fooValue'
$query->filterByBooktitle('%fooValue%'); // WHERE booktitle LIKE '%fooValue%'
</code>

@param     string $booktitle The value to use as filter.
Accepts wildcards (* and % trigger a LIKE)
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildReferenceQuery The current query, for fluid interface
Filter the query on the booktitle column