src/mako/database/midgard/ORM.php
protected function setColumValues(array $columns, bool $raw): void
	{
		if($raw)
		{
			if(empty($this->cast))
			{
				$this->columns = $columns;
			}
			else
			{
				foreach($columns as $column => $value)
				{
					$this->setRawColumnValue($column, $value);
				}
			}
		}
		else
		{
			foreach($columns as $column => $value)
			{
				$this->setColumnValue($column, $value);
			}
		}
	}
protected function setColumValues(array $columns, bool $raw): void
	{
		if($raw)
		{
			if(empty($this->cast))
			{
				$this->columns = $columns;
			}
			else
			{
				foreach($columns as $column => $value)
				{
					$this->setRawColumnValue($column, $value);
				}
			}
		}
		else
		{
			foreach($columns as $column => $value)
			{
				$this->setColumnValue($column, $value);
			}
		}
	}
protected function setColumValues ( array $ columns , bool $ raw ) : void { if ( $ raw ) { if ( empty ( $ this -> cast ) ) { $ this -> columns = $ columns ; } else { foreach ( $ columns as $ column => $ value ) { $ this -> setRawColumnValue ( $ column , $ value ) ; } } } else { foreach ( $ columns as $ column => $ value ) { $ this -> setColumnValue ( $ column , $ value ) ; } } }
Sets column values.

@param array $columns Column values
@param bool  $raw     Set raw values?
Sets column values .