Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Condition for a constraint? #1

@chrismerron

Description

@chrismerron

Hi,
Is there a way to provide a condition for the constraint, rather than a callable on the query?

For example, I'd like to do this:
Builder::hasByNonDependentSubquery('relationship', '>=', $value)

This is possible when using
Builder::has('relationship', '>=', $value)

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions