mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 14:16:39 +02:00
DibiConnection::sql() renamed to verb translate()
This commit is contained in:
@@ -286,7 +286,7 @@ class DibiDataSource extends DibiObject implements IDataSource
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->connection->sql('
|
||||
return $this->connection->translate('
|
||||
SELECT %n', (empty($this->cols) ? '*' : $this->cols), '
|
||||
FROM %SQL', $this->sql, '
|
||||
%ex', $this->conds ? array('WHERE %and', $this->conds) : NULL, '
|
||||
|
Reference in New Issue
Block a user