src/Postgresql/PostgresqlQuery.php
public function forUpdate($table_name, $glue = ',')
	{
		$this->type = 'forUpdate';

		if ($this->forUpdate === null)
		{
			$glue            = strtoupper($glue);
			$this->forUpdate = new QueryElement('FOR UPDATE', 'OF ' . $table_name, "$glue ");
		}
		else
		{
			$this->forUpdate->append($table_name);
		}

		return $this;
	}
public function forUpdate($table_name, $glue = ',')
	{
		$this->type = 'forUpdate';

		if ($this->forUpdate === null)
		{
			$glue            = strtoupper($glue);
			$this->forUpdate = new QueryElement('FOR UPDATE', 'OF ' . $table_name, "$glue ");
		}
		else
		{
			$this->forUpdate->append($table_name);
		}

		return $this;
	}
public function forUpdate ( $ table_name , $ glue = ',' ) { $ this -> type = 'forUpdate' ; if ( $ this -> forUpdate === null ) { $ glue = strtoupper ( $ glue ) ; $ this -> forUpdate = new QueryElement ( 'FOR UPDATE' , 'OF ' . $ table_name , "$glue " ) ; } else { $ this -> forUpdate -> append ( $ table_name ) ; } return $ this ; }
Sets the FOR UPDATE lock on select's output row

@param   string  $table_name  The table to lock
@param   string  $glue        The glue by which to join the conditions. Defaults to ',' .

@return  PostgresqlQuery  FOR UPDATE query element

@since   1.0
Sets the FOR UPDATE lock on select s output row