Skip to content

Add docs for $or #52

Open
Open
@chasenlehara

Description

@chasenlehara

It looks like $or works great in filter: https://codepen.io/bitovi/pen/NQNWbj?editors=0012

todoQueryLogic.filterMembers({
    filter: {
        $or: [{
          id: 1
        }, {
          complete: true
        }]
    },
    sort: "-name",
    page: {start: 0, end: 19}
}, [
    {id: 1, name: "do dishes", complete: false},
    {id: 2, name: "mow lawn", complete: true},
    // ...
]);

I couldn’t find docs for $or anywhere in the can-query-logic docs.

This was asked on Slack: https://bitovi-community.slack.com/archives/CFC22NZ8A/p1560787507109300

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions