From 2aa0f1f84e2da5f3cbfbbf479f17365396d10a5c Mon Sep 17 00:00:00 2001 From: aviggngyv Date: Tue, 5 Nov 2019 21:17:33 +0800 Subject: [PATCH] add setWhere method --- src/Manipulation/AbstractBaseQuery.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Manipulation/AbstractBaseQuery.php b/src/Manipulation/AbstractBaseQuery.php index 940bf3c..a9845a2 100644 --- a/src/Manipulation/AbstractBaseQuery.php +++ b/src/Manipulation/AbstractBaseQuery.php @@ -152,6 +152,18 @@ public function getWhere() return $this->where; } + /** + * @param Where $where + * + * @return $this + */ + public function setWhere(Where $where) + { + $this->where = $where; + + return $this; + } + /** * @return Table */