public function getRow(QueryBuilder $qb, array $params = [], $inDeleted = false)
    {
        if ($this->softDelete && !$inDeleted) {
            $qb->andWhere('t.'.$this->softDeleteName.' IS NULL');
        }

        return $this->db->fetchAssoc($qb->getSQL(), $params);
    }