Skip to content

Errors in Invalid SQL should be warnings #500

Description

@btruong66

Introduced in v1.3.1, an error is raised when parameters are provided without being used in the prepared SQL:

raise ValueError(f'Invalid SQL: {operation}'

This exception should be a warning rather than raise an error to maintain backwards compatibility.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions