src/Alchemy/Component/Cerberus/Model/Base/RoleQuery.php
public function filterByCreateDate($createDate = null, $comparison = null)
    {
        if (is_array($createDate)) {
            $useMinMax = false;
            if (isset($createDate['min'])) {
                $this->addUsingAlias(RoleTableMap::COL_CREATE_DATE, $createDate['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($createDate['max'])) {
                $this->addUsingAlias(RoleTableMap::COL_CREATE_DATE, $createDate['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(RoleTableMap::COL_CREATE_DATE, $createDate, $comparison);
    }
public function filterByCreateDate($createDate = null, $comparison = null)
    {
        if (is_array($createDate)) {
            $useMinMax = false;
            if (isset($createDate['min'])) {
                $this->addUsingAlias(RoleTableMap::COL_CREATE_DATE, $createDate['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($createDate['max'])) {
                $this->addUsingAlias(RoleTableMap::COL_CREATE_DATE, $createDate['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(RoleTableMap::COL_CREATE_DATE, $createDate, $comparison);
    }
public function filterByCreateDate ( $ createDate = null , $ comparison = null ) { if ( is_array ( $ createDate ) ) { $ useMinMax = false ; if ( isset ( $ createDate [ 'min' ] ) ) { $ this -> addUsingAlias ( RoleTableMap :: COL_CREATE_DATE , $ createDate [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ createDate [ 'max' ] ) ) { $ this -> addUsingAlias ( RoleTableMap :: COL_CREATE_DATE , $ createDate [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( RoleTableMap :: COL_CREATE_DATE , $ createDate , $ comparison ) ; }
Filter the query on the create_date column

Example usage:
<code>
$query->filterByCreateDate('2011-03-14'); // WHERE create_date = '2011-03-14'
$query->filterByCreateDate('now'); // WHERE create_date = '2011-03-14'
$query->filterByCreateDate(array('max' => 'yesterday')); // WHERE create_date > '2011-03-13'
</code>

@param     mixed $createDate The value to use as filter.
Values can be integers (unix timestamps), DateTime objects, or strings.
Empty strings are treated as NULL.
Use scalar values for equality.
Use array values for in_array() equivalent.
Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

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