Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Force _rev for queries with .select fields #1517

Merged
merged 1 commit into from
Aug 20, 2024

Commits on Aug 20, 2024

  1. feat: Force _rev for queries with .select fields

    When specifying fields in a query, e.g.
    `Q('io.cozy.todos').where({done: true}).select(['date'])`, the revision
    was missing if not explicitly given. This is now problematic because we
    rely on the revision existence to identify "virtual" documents, i.e. not
    persisted in CouchDB, that never have any revision.
    See #1486 for more insights.
    paultranvan committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    b60721d View commit details
    Browse the repository at this point in the history