public function getPdoStatement(\PDO $pdo)
    {
        $stmt = $pdo->prepare($this->getSqlString());

        $bound = $this->getBoundValues();

        foreach ($bound as $name => $bind) {
            $stmt->bindValue($name, $bind[0], $bind[1]);
        }

        return $stmt;
    }
public function getPdoStatement(\PDO $pdo)
    {
        $stmt = $pdo->prepare($this->getSqlString());

        $bound = $this->getBoundValues();

        foreach ($bound as $name => $bind) {
            $stmt->bindValue($name, $bind[0], $bind[1]);
        }

        return $stmt;
    }
public function getPdoStatement ( \ PDO $ pdo ) { $ stmt = $ pdo -> prepare ( $ this -> getSqlString ( ) ) ; $ bound = $ this -> getBoundValues ( ) ; foreach ( $ bound as $ name => $ bind ) { $ stmt -> bindValue ( $ name , $ bind [ 0 ] , $ bind [ 1 ] ) ; } return $ stmt ; }
get a statement for the given pdo object, values are already bound
@param \PDO $pdo
get a statement for the given pdo object values are already bound