classes/Peyote/Update.php
public function compile()
	{
		$sql = array("UPDATE");
		$sql[] = $this->table;
		$sql[] = "SET";

		$set = array();
		foreach ($this->data as $key => $value)
		{
			$set[] = "{$key} = ?";
			$this->params[] = $value;
		}

		$sql[] = join(', ', $set);

		$sql = \array_merge($sql, $this->compileMixins());

		return join(' ', $sql);
	}
public function compile()
	{
		$sql = array("UPDATE");
		$sql[] = $this->table;
		$sql[] = "SET";

		$set = array();
		foreach ($this->data as $key => $value)
		{
			$set[] = "{$key} = ?";
			$this->params[] = $value;
		}

		$sql[] = join(', ', $set);

		$sql = \array_merge($sql, $this->compileMixins());

		return join(' ', $sql);
	}
public function compile ( ) { $ sql = array ( "UPDATE" ) ; $ sql [ ] = $ this -> table ; $ sql [ ] = "SET" ; $ set = array ( ) ; foreach ( $ this -> data as $ key => $ value ) { $ set [ ] = "{$key} = ?" ; $ this -> params [ ] = $ value ; } $ sql [ ] = join ( ', ' , $ set ) ; $ sql = \ array_merge ( $ sql , $ this -> compileMixins ( ) ) ; return join ( ' ' , $ sql ) ; }
Compiles the query into raw SQL

@return  string
Compiles the query into raw SQL