Skip to content

improve deleteQuery behaviour around limit #8522

Closed

Description

@sushantdhiman

Follow up of discussion in #8494

All dialects implement deleteQuery in such a way that if limit is not supplied only first row is deleted. I am sure this is not a desired behavior and remnant of some old logic that was then copied over to other dialects.

Till now this check is defaulting limit value to null so this current or past versions arent affected.

But I think we need to improve this logic in upcoming sequelize versions

Activity

  1. added
    type: refactor
    on Oct 23, 2017
  2. added this to the milestone on Oct 23, 2017
  3. stale commented on Jan 21, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂

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

    type: refactor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions