1 Replies - 348 Views - Last Post: 14 February 2013 - 11:40 AM Rate Topic: -----

#1 scottyadam  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 116
  • Joined: 03-December 07

Mysql Query Builder

Posted 14 February 2013 - 11:28 AM

My project i'm trying to build is in the title, looking for a class that will dynamically build me a complex mysql SELECT query conforming to this... http://dev.mysql.com.../en/select.html

Alrighty, been searching around and here is what I have found:

http://stackoverflow...ilder-php-class
which points to this project: https://github.com/i...L-Query-Builder

There is another link on that page but that isn't exactly it...

Can't find anything else on Google, turns out nobody on this forum has asked about this type of thing so I figured i'd see if anyone else knew about this kind of thing existing...maybe i've been going about this all wrong...

I can take the existing class on github and modify to included embedded select and joins but don't want to go through all of that unless somebody else has already done it. Anyone know of this project already done or is it time i pull a few all nighters to build it...or extend rather on that other php class...

Is This A Good Question/Topic? 0
  • +

Replies To: Mysql Query Builder

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3719
  • View blog
  • Posts: 5,991
  • Joined: 08-June 10

Re: Mysql Query Builder

Posted 14 February 2013 - 11:40 AM

I've never used it directly myself, but as I understand it, the Doctrine DBAL has a powerful query builder. Worth looking into, at least. It's what the Doctrine ORM is built on top of.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1