-
Notifications
You must be signed in to change notification settings - Fork 159
User Response
[email protected] (7-Feb-2012)
:) Great !! Thanks for your work in this. Much appreciated!!
Thanks for your quick feedback and continued efforts with this project.
Thanks for the quick reply and the quick fix also :) it works now
Works fine now thx
Thank you for this tool, it's really great piece of software that opens many possibilities for me. PHP was i need of a good SQL parser for a long time.
I've attached some pretty minor changes that (on my machine at least) make it over 10x faster... hope you find it useful - thanks for a great project!
Many thanks on all your effort and fantastic answer.
cool, seems to work. thx!
It is very useful in the project i was working on.
The project was about modifying an existing open source software package (over 2.000 PHP files, almost 500 MySQL tables). The goal was to use the software (single installation/database) for multiple clients, where the data of each client needed to be totally seperated from other clients (no data leaks).
In order to achieve this most tables had to get a new client_id column and all queries needed to be modified to use the client_id when inserting new data or in the WHERE clause when retrieving data, etc..
Doing this the old fashioned way by going over all sources and editing all queries would be undoable and would probable have led to missed queries and by that data leaks. Fortunately the software was using 1 (actually 2) low-level routines for all access to the MySQL database. So the solution was to intercept all queries before they get executed, parse them, modify them, rebuild them and then execute.
The PHP-SQL parser & Creator gave me a good starting point for that.
Works fine with /tags/2012-07-03 version. I use it in CodeIgniter very easily. Good work! :)
Great job! It would be even better if you had it on packagist... :)
Thanks! I wanted to say that this has been very useful for my work and I appreciate the effort put into this. I use it to automatically filter, sort and paginate our SQL queries, and so far it works great!
Wow, probably the fastest fix I've ever seen, thank you!
Hi, thanks a lot! You guys are good & fast. Regards, Henk
Parser works like a charm! :) Thank you!
Thanks for a great library!