https://kotlinlang.org logo
a

Ali Olfat

04/26/2021, 4:39 AM
hey folks, is there a way to know if my row was inserted or not with
insertIgnore
on a non IdTable? I'm currently querying for it right afterwards but was wondering if there is a cleaner way
t

tapac

04/26/2021, 11:12 AM
afaik, not all databases provide such information in result, but you can setup a test and check the value returned from insertIgnore in different cases
12 Views