Skip to content

Commit

Permalink
implement newQuery() method (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylim12 authored Nov 16, 2022
1 parent d9ca677 commit 202f81f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,14 @@ public function delete(): Statement
return $this->client->write($sql);
}

/**
* Makes clean instance of builder.
*
* @return self
*/
public function newQuery(): self
{
return new static($this->client);
}

}

0 comments on commit 202f81f

Please sign in to comment.