src/mako/database/midgard/relations/ManyToMany.php
public function alongWith(array $columns)
	{
		foreach($columns as $key => $value)
		{
			if(strpos($value, '.') === false)
			{
				$columns[$key] = $this->getJunctionTable() . '.' . $value;
			}
		}

		$this->alongWith = $columns;

		return $this;
	}
public function alongWith(array $columns)
	{
		foreach($columns as $key => $value)
		{
			if(strpos($value, '.') === false)
			{
				$columns[$key] = $this->getJunctionTable() . '.' . $value;
			}
		}

		$this->alongWith = $columns;

		return $this;
	}
public function alongWith ( array $ columns ) { foreach ( $ columns as $ key => $ value ) { if ( strpos ( $ value , '.' ) === false ) { $ columns [ $ key ] = $ this -> getJunctionTable ( ) . '.' . $ value ; } } $ this -> alongWith = $ columns ; return $ this ; }
Columns to include with the result.
@param  array $columns Columns
@return $this
Columns to include with the result .