New Query
A query builder is a stateful, transient object. That means that if you want to execute two different queries, you need two separate instances of QueryBuilder
.
An easy way to get a new query builder is to use the newQuery
method available on the builder.
The newQuery
method will keep the current grammar, return format, and utils attached to the called query builder.
Last updated