Sync/Extractor/Descriptor/JoinRelation.php
public function getSelectQuery()
    {
        $select = sprintf(
            "SELECT '%s' as '%s', %s as '%s' FROM %s WHERE %s;",
            $this->documentType,
            JobTableFields::TYPE,
            $this->documentId,
            JobTableFields::ID,
            $this->table,
            $this->searchCondition
        );

        return $select;
    }
public function getSelectQuery()
    {
        $select = sprintf(
            "SELECT '%s' as '%s', %s as '%s' FROM %s WHERE %s;",
            $this->documentType,
            JobTableFields::TYPE,
            $this->documentId,
            JobTableFields::ID,
            $this->table,
            $this->searchCondition
        );

        return $select;
    }
{@inheritdoc}