Skip to content

Criteria are repeated in the query #163

@ddeboer

Description

@ddeboer

When doing Lens.find() with a where: {...} filter argument, that filter appears twice in the query:

  • once in the SELECT DISTINCT ?iri subquery, where it’s really needed for a proper selection of resources
  • again in the main query, where it’s redundant and may only slow down query execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions