Implement AND Condition in where Clauses
Description:
Add support for logical AND conditions in where clauses, allowing more complex and precise data filtering in queries.
Objective:
- Enable the combination of multiple conditions using logical AND in queries.
- Update the syntax of the
where parameters to support arrays or objects representing combined conditions.
- Ensure the implementation is intuitive and consistent with existing filtering functionalities.
Acceptance Criteria:
- Calling
findMany({ where: { AND: [{ condition1 }, { condition2 }] } }) returns records that meet all specified conditions.
- Documentation updated with examples demonstrating the use of AND.
- Automated tests cover various scenarios of combined conditions.
Implement AND Condition in
whereClausesDescription:
Add support for logical AND conditions in
whereclauses, allowing more complex and precise data filtering in queries.Objective:
whereparameters to support arrays or objects representing combined conditions.Acceptance Criteria:
findMany({ where: { AND: [{ condition1 }, { condition2 }] } })returns records that meet all specified conditions.