Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

[Feature] Add custom where condition #43

@amirmasoud

Description

@amirmasoud

Add ability to add custom where condition on the QuerySupport file on the runCondition method by overriding or augmenting currently defined conditions.

a suggested syntax could be like:

public function addOperation('_custom_operation', $query, $operation, $field, $value, $exp = 'and')
{
    // return $query->where($field, '=', $value, $exp);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions