77 ->from($this->resource->getTableName($gridTableName),
'last_visit_at')
78 ->order(
'last_visit_at DESC')
83 ->from($this->resource->getTableName(
'customer_log'),
'customer_id')
84 ->where(
'last_login_at > ?', $lastVisitAt);
88 $customerIds[] =
$row[
'customer_id'];
getCustomerIdsForReindex()
__construct(ResourceConnection $resource, IndexerRegistry $indexerRegistry, FlatScopeResolver $flatScopeResolver)
const CUSTOMER_GRID_INDEXER_ID