Skip to content

BaseBuilder::get() resets query even if reset = false #2141

Description

@tangix

Describe the bug
When calling BaseBuilder::get() with parameters to return the SQL but not reset the state of the builder, the builder is reset anyway.

CodeIgniter 4 version
4.0.0-beta4

Affected module(s)
Database\Builder

Expected behavior, and steps to reproduce if appropriate
When returning the SQL and setting reset = false, the builder should not be reset.

Context
PHP 7.2.21 and 7.3.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions