Skip to content

Split Query operators into their own parameter #57

Description

@hexus

Queries can be written as such at the moment:

// Implying equality
$query->where('id', 1);

// Specifying an operator
$query->where('id >', 1);

Forcing the operator to be in the first parameter isn't pleasant. Follow Laravel and many other query builders in this regard.

// Implied equality
$query->where('id', 1);

// Specifying an operator
$query->where('id', '>', 1);

This is especially relevant for #54.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions