-
Notifications
You must be signed in to change notification settings - Fork 0
resetState
Corey Avis edited this page Sep 23, 2026
·
2 revisions
Resets all internal query builder variables and state tracking to their default values. This ensures that subsequent SQL statements executed by the same class instance are built from a clean slate, preventing data bleed between queries.
This method is typically called automatically at the end of a query execution lifecycle.
resetState(): bool
- Takes no arguments.
(bool)
: Returns true upon successful reset.
$db->resetState()
- No debug errors.