mirror of
https://github.com/dg/dibi.git
synced 2025-08-11 00:24:19 +02:00
DibiConnection::sql() renamed to verb translate()
This commit is contained in:
@@ -422,7 +422,7 @@ class DibiFluent extends DibiObject implements IDataSource
|
||||
*/
|
||||
public function toDataSource()
|
||||
{
|
||||
return new DibiDataSource($this->connection->sql($this->_export()), $this->connection);
|
||||
return new DibiDataSource($this->connection->translate($this->_export()), $this->connection);
|
||||
}
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ class DibiFluent extends DibiObject implements IDataSource
|
||||
*/
|
||||
final public function __toString()
|
||||
{
|
||||
return $this->connection->sql($this->_export());
|
||||
return $this->connection->translate($this->_export());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user