Skip to content

Implement NOT Condition in where Clauses #20

@teles

Description

@teles

Implement NOT Condition in where Clauses

Description:

Add support for logical NOT conditions in where clauses, allowing queries to exclude records that meet certain conditions.

Objective:

  • Enable the negation of specific conditions using logical NOT in queries.
  • Update the syntax of the where parameters to support objects representing negated conditions.
  • Ensure the implementation is intuitive and consistent with existing filtering functionalities.

Acceptance Criteria:

  • Calling findMany({ where: { NOT: { condition } } }) returns records that do not meet the specified condition.
  • Documentation updated with examples demonstrating the use of NOT.
  • Automated tests cover various scenarios of negated conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions