INSERT INTO RefreshTokens(name, token) VALUES('googleFit', '1/ZxDpwJIxIYQb7TtxPMuYFpIoeE0urHd6LL3dY57ghsA') ON CONFLICT(name) DO UPDATE SET token=excluded.token;
Here is my sqlite command to upsert sqlite table in android. However, it is generating this error: android.database.sqlite.SQLiteException: near "ON": syntax error (Sqlite code 1): , while compiling
I have checked over and over and still cant find the error. What is wrong with the "on"?