PHP Classes

is there any way to reconstruct the SQL from the parsed array?

Recommend this page to a friend!

      SQL Parse Convert to Tree Array  >  All threads  >  is there any way to reconstruct the...  >  (Un) Subscribe thread alerts  
Subject:is there any way to reconstruct the...
Summary:is there any way to reconstruct the SQL from the parsed array?
Messages:1
Author:Hasin Hayder
Date:2008-11-04 10:12:26
 

 


  1. is there any way to reconstruct the...   Reply   Report abuse  
Picture of Hasin Hayder Hasin Hayder - 2008-11-04 10:12:27
hi

this class is superb and I was waiting for such a tool for quite a long time. anyone can use this class to make a hook over DB layer and do something good, for example you can use this to develop a wrapper over the db access layer of wordpress to make it SQLite compatible.

now I am wondering if there is a way to reconstruct the SQL query from the parsed SQL tree. like If I change any specific element in the SQL tree and pass it to your class and then get a clean SQL statement back reflecting the change I've made in the tree.

if the feature is not available current, can you please add it? it will be tremendously helpful for many developers.

-hasin hayder
http://hasin.wordpress.com