Check out example codes for "near "@gmail": syntax error". It will help you in understanding the concepts better.

Code Example 1

return database.update(LOGIN_TABLE, initialValues, "COL_USERID = '" userid  "'", null);

Learn ReactJs, React Native from akashmittal.com