$query->filterByAlias(OrderStatusModel::$statusAliasAsCart); | $query->filterByAlias(OrderStatusModel::$statusAliasAsCart); | ||||
$query->filterByUserIsNull(); | $query->filterByUserIsNull(); | ||||
$query->filterByVisitorIsNull(); | $query->filterByVisitorIsNull(); | ||||
dump($query->getQueryBuilder()->getDQL()); | |||||
return $query->limit(100000)->find(); | |||||
return $query->limit(50000)->find(); | |||||
} | } | ||||
} | } |
$query = $this->createDefaultQuery($query); | $query = $this->createDefaultQuery($query); | ||||
$query->filterByLastAccess($lastAccess); | $query->filterByLastAccess($lastAccess); | ||||
// $query->filterByTotalVisit(1); | |||||
return $query->find(); | |||||
$query->filterByTotalVisit(1); | |||||
return $query->limit(50000)->find(); | |||||
} | } | ||||
} | } |