src/ActiveDoctrine/Selector/AbstractSelector.php
public function execute()
    {
        $stmt = $this->connection->prepare($this->getSQL());
        $stmt->execute($this->getParams());

        return $this->counting ? (int) $stmt->fetchColumn() : $stmt->fetchAll();
    }
public function execute()
    {
        $stmt = $this->connection->prepare($this->getSQL());
        $stmt->execute($this->getParams());

        return $this->counting ? (int) $stmt->fetchColumn() : $stmt->fetchAll();
    }
public function execute ( ) { $ stmt = $ this -> connection -> prepare ( $ this -> getSQL ( ) ) ; $ stmt -> execute ( $ this -> getParams ( ) ) ; return $ this -> counting ? ( int ) $ stmt -> fetchColumn ( ) : $ stmt -> fetchAll ( ) ; }
Prepare and execute the current SQL query, returning an array
of the results.

@return array The results
Prepare and execute the current SQL query returning an array of the results .