src/mako/database/midgard/ORM.php
public function getModified(): array
	{
		$modified = [];

		foreach($this->columns as $key => $value)
		{
			if(!array_key_exists($key, $this->original) || $this->original[$key] !== $value)
			{
				$modified[$key] = $value;
			}
		}

		return $modified;
	}
public function getModified(): array
	{
		$modified = [];

		foreach($this->columns as $key => $value)
		{
			if(!array_key_exists($key, $this->original) || $this->original[$key] !== $value)
			{
				$modified[$key] = $value;
			}
		}

		return $modified;
	}
public function getModified ( ) : array { $ modified = [ ] ; foreach ( $ this -> columns as $ key => $ value ) { if ( ! array_key_exists ( $ key , $ this -> original ) || $ this -> original [ $ key ] !== $ value ) { $ modified [ $ key ] = $ value ; } } return $ modified ; }
Returns the modified column values of the record.

@return array
Returns the modified column values of the record .