1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 21:58:10 +02:00

- improved binary escaping

This commit is contained in:
David Grudl
2009-03-16 05:47:20 +00:00
parent 97969edace
commit a9afe1e397
4 changed files with 17 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ class DibiDataSource extends DibiObject implements IDataSource
return $this->connection->sql('
SELECT %n', (empty($this->cols) ? '*' : $this->cols), '
FROM %SQL', $this->sql, '
WHERE %and', $this->conds, '
%ex', $this->conds ? array('WHERE %and', $this->conds) : NULL, '
%ex', $this->sorting ? array('ORDER BY %by', $this->sorting) : NULL, '
%ofs %lmt', $this->offset, $this->limit
);