src/mako/database/midgard/relations/Relation.php
protected function lazyCriterion(): void
	{
		$this->where($this->table . '.' . $this->getForeignKey(), '=', $this->parent->getPrimaryKeyValue());
	}
protected function lazyCriterion(): void
	{
		$this->where($this->table . '.' . $this->getForeignKey(), '=', $this->parent->getPrimaryKeyValue());
	}
protected function lazyCriterion ( ) : void { $ this -> where ( $ this -> table . '.' . $ this -> getForeignKey ( ) , '=' , $ this -> parent -> getPrimaryKeyValue ( ) ) ; }
Sets the criterion used when lazy loading related records.
Sets the criterion used when lazy loading related records .