Check out example codes for "posgres update syntax". It will help you in understanding the concepts better.

Code Example 1

UPDATE table
SET column1 = value1,
    column2 = value2 ,...
WHERE
	condition;

Learn ReactJs, React Native from akashmittal.com