protected function update($keyValue=null, String $key, String $table, Array $properties=[])
	{
		if (isset($properties[$key])) {
			unset($properties[$key]);
		}

		$this->queryBuilder()->where(
			$key, $keyValue
		)->update($table, $properties);

	}
protected function update($keyValue=null, String $key, String $table, Array $properties=[])
	{
		if (isset($properties[$key])) {
			unset($properties[$key]);
		}

		$this->queryBuilder()->where(
			$key, $keyValue
		)->update($table, $properties);

	}
protected function update ( $ keyValue = null , String $ key , String $ table , Array $ properties = [ ] ) { if ( isset ( $ properties [ $ key ] ) ) { unset ( $ properties [ $ key ] ) ; } $ this -> queryBuilder ( ) -> where ( $ key , $ keyValue ) -> update ( $ table , $ properties ) ; }
Updates an existing record in the database table.

@param 	$keyValue <Mixed>
@param 	$key <String>
@param 	$table <String>
@param 	$properties <Array>
@access 	protected
@return 	<void>
Updates an existing record in the database table .