Skip to content

Remove methods replacing query condition #714

Description

@samdark

https://github.com/yiisoft/db/blob/master/src/Query/QueryPartsInterface.php#L642

Methods like where() are often the source of problems cause sometimes these are used instead of andWhere(), orWhere().

Possible solutions:

  1. Remove such methods. Add reset*() for the rare cases it is needed.
  2. Make where() the same as andWhere().
    Add reset*() for the rare cases it is needed.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions