Skip to content

Handle with other operators besides = #7

Open
@lucasbesen

Description

@lucasbesen

We can use raw SQL but would be nice something less handful

SELECT * FROM users WHERE id != "bla"

Something like that:

Foo.find({ name: { type: NOT, value: "James" } })

@fakenickels idea:
Foo.find({ name: Not("James") })
Not(Between (2))

A class from Operator, so we can switch on top
So we can have Not, Equal, Between
And in the query builder we detect and add the correspondent query

More ideas?

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