Skip to content

Implement AND Condition in where Clauses #18

@teles

Description

@teles

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.

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