SilexLab / Silex

Achive of the silex framework
http://aelix.org
5 stars 2 forks source link

Add a query-generator #6

Closed JanekOstendorf closed 11 years ago

JanekOstendorf commented 11 years ago

The goal is to stadardize the queries in the code and generate the real query dependant on the current DB-wrapper afterwards and automatically.

$query = (new Query())->select()
        ->from('user')
        ->where('id')->equalTo(1337)
        ->orderBy('name', ORDER_DESC);
JanekOstendorf commented 11 years ago

Is now handled in https://github.com/SilexLab/SilexQuery