using $where is now equivalent to $where->text()

This commit is contained in:
Sergey Tsalkov
2012-09-09 14:49:43 -07:00
parent 5b4e5a959a
commit 6b324d1291
2 changed files with 4 additions and 2 deletions

View File

@@ -789,6 +789,8 @@ class WhereClause {
if ($this->negate) $A = '(NOT ' . $A . ')';
return $A;
}
function __toString() { return $this->text(); }
}
class DBTransaction {