Skip to content

Optimization: use query to limit documents for each instance #10

@mitar

Description

@mitar

Instead of observing all changes in all instances and then filtering them in the observe callback, we could provide already a query to the database to limit documents. For example, {_id: {$gte: 'a', $lt: 'c'} returns only documents where _id starts with a or b.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions