onConflictDoNothing is not returning values
Hey,
Given the following query:
It only returns the data when it has inserted unique row, but when row exists, it doesn't return me the existing row.
The behaviour I am seeking, is if the row exists, do not insert it, but give it back to me anyway, because I need to know the ID.
Given the following query:
It only returns the data when it has inserted unique row, but when row exists, it doesn't return me the existing row.
The behaviour I am seeking, is if the row exists, do not insert it, but give it back to me anyway, because I need to know the ID.