Set and get the joins
public joins ( string $name = null, object | string $join = null ) : mixed | ||
$name | string | Optional name of join. Unless two parameters are passed, this parameter is regonized as `$join`. |
$join | object | string | A single query object or an array of query objects |
return | mixed | The joins array or a join array if `$name` is set. Returns `null` if a join doesn't exist. |