From: Andreas A. <a.a...@th...> - 2001-08-17 11:20:19
|
I just startet to optimize the code to fit with r2. Mostly convention changes and connectivity with $gDatasources. I guess on monday its cleaned up and usable like this: import('binarycloud.mgr.QueryManager'); $qm = new QueryManager('my_datasrc_hook'); $query = array('QUERY' => 'SELECT foo, bar FROM table....balh'); $values = $qm->DoCustomQuery($query, "", true); I have to do minor changes to metabase drivers (GetColumnNames(), oci already supports this). QM:_ProccessResult does need this. The alternative is to implement the database specific functions that are required directly into QM, but I don't like this. Alex, anything specific I have to take care of when r2ifying the code? Andi |