Skip to content

Empty OR clause with table.delete() produces invalid SQL #3045

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot
Collaborator

Migrated issue, originally created by monsanto (@monsanto)

See attached test case. Results from running the script:

Expected: DELETE FROM test
Got: DELETE FROM test WHERE 

Attachments: test.py

Activity

sqlalchemy-bot

sqlalchemy-bot commented on May 9, 2014

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

55eacc8

sqlalchemy-bot

sqlalchemy-bot commented on May 9, 2014

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

93e11a9

sqlalchemy-bot

sqlalchemy-bot commented on May 9, 2014

@sqlalchemy-bot
CollaboratorAuthor

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
sqlalchemy-bot

sqlalchemy-bot commented on May 9, 2014

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

thanks

added this to the 0.9.5 milestone on Nov 27, 2018
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sqlalchemy-bot

        Issue actions

          Empty OR clause with table.delete() produces invalid SQL · Issue #3045 · sqlalchemy/sqlalchemy