src/SQLRequest/SQLRequest.php
public function getQuery() {
		$output	= $this->get('output');
		
		try  {
			$this->set('output', SQLAdapter::SQLQUERY);
			$result = $this->run();
		} catch( \Exception $e ) {
			
		}
		
		$this->set('output', $output);
		
		if( isset($e) ) {
			throw $e;
		}
		
		return $result;
	}
public function getQuery() {
		$output	= $this->get('output');
		
		try  {
			$this->set('output', SQLAdapter::SQLQUERY);
			$result = $this->run();
		} catch( \Exception $e ) {
			
		}
		
		$this->set('output', $output);
		
		if( isset($e) ) {
			throw $e;
		}
		
		return $result;
	}
public function getQuery ( ) { $ output = $ this -> get ( 'output' ) ; try { $ this -> set ( 'output' , SQLAdapter :: SQLQUERY ) ; $ result = $ this -> run ( ) ; } catch ( \ Exception $ e ) { } $ this -> set ( 'output' , $ output ) ; if ( isset ( $ e ) ) { throw $ e ; } return $ result ; }
Get the query as string

@throws Exception
@return string
Get the query as string