public function select($pSelectStatement)
    {
        $returnValue = null;
        try {
            // Set the select.
            $stmt = $this->pdo->prepare($pSelectStatement);
            // Call the database routine
            $stmt->execute();
            // Fetch all rows into an array.
            $rows = $stmt->fetchAll(\PDO::FETCH_ASSOC);

            if ($this->isArray($rows)) {
                $returnValue = $rows;
            }

            $stmt->closeCursor();
        } catch (Exception $pError) {
            $message = \sprintf(
                'Select statement failed "%s" in %s on line %s',
                $pSelectStatement,
                $pError->getFile(),
                $pError->getLine()
            );

            throw new \Exception($message, 501, $pError);
        }

        return $returnValue;
    }