October\Rain\Database\Relations\DefinedConstraints

Overview

DefinedConstraints handles the constraints and filters defined by a relation eg: 'conditions' => 'is_published = 1'


Public Methods

public addDefinedConstraints()

public addDefinedConstraints(): void 

addDefinedConstraints to the relation query

public addDefinedConstraintsToQuery()

public addDefinedConstraintsToQuery($query, $args = null): void

public addDefinedConstraintsToRelation()

public addDefinedConstraintsToRelation($relation, $args = null): void