public function query($sql){
		LogMaster::log($sql);
		$res=sasql_query($this->connection, $sql);
		if ($res===false) throw new Exception("SaSQL operation failed\n".sasql_error($this->connection));
		$this->last_result = $res;
		return $res;
	}
public function query($sql){
		LogMaster::log($sql);
		$res=sasql_query($this->connection, $sql);
		if ($res===false) throw new Exception("SaSQL operation failed\n".sasql_error($this->connection));
		$this->last_result = $res;
		return $res;
	}
public function query ( $ sql ) { LogMaster :: log ( $ sql ) ; $ res = sasql_query ( $ this -> connection , $ sql ) ; if ( $ res === false ) throw new Exception ( "SaSQL operation failed\n" . sasql_error ( $ this -> connection ) ) ; $ this -> last_result = $ res ; return $ res ; }
!< ID of previously inserted record
!< ID of previously inserted record