Skip to content
Permalink
Browse files

Decided to make supportsQuoting not abstract, as most of drivers do

support this operation
  • Loading branch information...
lorenzo committed Feb 3, 2013
1 parent 4475b21 commit f306db31bef69630e171d3bd33b53e3d26d61d76
Showing with 6 additions and 1 deletion.
  1. +3 −1 lib/Cake/Model/Datasource/Database/Driver.php
  2. +3 −0 lib/Cake/Model/Datasource/Database/Query.php
@@ -124,7 +124,9 @@ public function rollbackSavePointSQL($name) {
*
* @return boolean
**/
public abstract function supportsQuoting();
public function supportsQuoting() {
return true;
}
/**
* Returns last id generated for a table or sequence in database
@@ -471,6 +471,9 @@ public function _buildFromPart($parts) {
* 'table' => 'products', 'type' => 'INNER', 'conditions' => 'a.owner_id = p.id
* ]
* ]);
* // LEFT JOIN authors a ON (a.id = b.author_id)
* // INNER JOIN products p (a.owner_id = p.id)
* }}
*
* ## Using conditions and types
*

0 comments on commit f306db3

Please sign in to comment.
You can’t perform that action at this time.