if ($this->tempUseSoftDeletes
) { $builder->
where($this->table . '.' .
$this->deletedField, null
);
} if (is_array($id)) { $row =
$builder->
whereIn($this->table . '.' .
$this->primaryKey,
$id) ->
get() ->
getResult($this->tempReturnType
);
} elseif ($singleton) { $row =
$builder->
where($this->table . '.' .
$this->primaryKey,
$id) ->
get() ->
getFirstRow($this->tempReturnType
);
} else { $row =
$builder->
get()->
getResult($this->tempReturnType
);
} return $row;
} /**
* Fetches the column of database from $this->table.
* This method works only with dbCalls.
*
* @param string $columnName Column Name
*
* @return array|null The resulting row of data, or null if no data found.
*/