diff --git a/src/Query/DeleteQuery.php b/src/Query/DeleteQuery.php new file mode 100644 index 0000000..2313483 --- /dev/null +++ b/src/Query/DeleteQuery.php @@ -0,0 +1,38 @@ +processClauseList([ + self::PRE_QUERY_COMMENT => $this->preQuery(), + "delete from" => $this->from(), + "partition" => $this->partition(), + "where" => $this->where(), + "order by" => $this->orderBy(), + "limit" => $this->limit(), + self::POST_QUERY_COMMENT => $this->postQuery(), + ]); + + return $query; + } + + public function from():array { + return []; + } + + public function partition():array { + return []; + } + + public function where():array { + return []; + } + + public function orderBy():array { + return []; + } + + public function limit():array { + return []; + } +} \ No newline at end of file diff --git a/test/phpunit/Helper/DeleteOrderByExample.php b/test/phpunit/Helper/DeleteOrderByExample.php new file mode 100644 index 0000000..8e0ec95 --- /dev/null +++ b/test/phpunit/Helper/DeleteOrderByExample.php @@ -0,0 +1,24 @@ +