diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-05 09:31:25 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-05 09:31:25 +0300 |
commit | 5c14cf8e5bff649230f91ef7e90dc3d3dd89f9a9 (patch) | |
tree | 161ed72288d88441a4fbd56d694342e4e09f3009 /core/Segment | |
parent | 764a8c147f8992ae99a679573fc434d82dd7b0a6 (diff) |
move logic that creates the SQL query into LogQueryBuilder class
Diffstat (limited to 'core/Segment')
-rw-r--r-- | core/Segment/SegmentExpression.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Segment/SegmentExpression.php b/core/Segment/SegmentExpression.php index e32bbe8723..4078321ce0 100644 --- a/core/Segment/SegmentExpression.php +++ b/core/Segment/SegmentExpression.php @@ -46,6 +46,11 @@ class SegmentExpression $this->tree = $this->parseTree(); } + public function isEmpty() + { + return empty($this->string); + } + protected $joins = array(); protected $valuesBind = array(); protected $parsedTree = array(); |