Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information