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.
Implement NOT Condition in
whereClausesDescription:
Add support for logical NOT conditions in
whereclauses, allowing queries to exclude records that meet certain conditions.Objective:
whereparameters to support objects representing negated conditions.Acceptance Criteria:
findMany({ where: { NOT: { condition } } })returns records that do not meet the specified condition.