src/Model/Table/ImportResultsTable.php
public function findImported(QueryInterface $query, array $options) : QueryInterface
    {
        $query->where([
            'import_id' => $options['import']->id,
            'status' => static::STATUS_SUCCESS
        ]);

        return $query;
    }
public function findImported(QueryInterface $query, array $options) : QueryInterface
    {
        $query->where([
            'import_id' => $options['import']->id,
            'status' => static::STATUS_SUCCESS
        ]);

        return $query;
    }
public function findImported ( QueryInterface $ query , array $ options ) : QueryInterface { $ query -> where ( [ 'import_id' => $ options [ 'import' ] -> id , 'status' => static :: STATUS_SUCCESS ] ) ; return $ query ; }
Find import results by import id and success status.

@param \Cake\Datasource\QueryInterface $query Query object
@param mixed[] $options Additional options
@return \Cake\Datasource\QueryInterface
Find import results by import id and success status .